/* 
  Arctovia Consulting - Global Mobility Solutions 
  Premium Design System - Vanilla CSS
*/

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

:root {
  /* Color Palette */
  --primary-color: #1E3A5F;
  --primary-light: #2A4D7A;
  --primary-dark: #12253E;
  
  --accent-color: #C52026;
  --accent-hover: #A51A1F;
  
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --bg-dark: #0F172A;
  
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --text-white: #FFFFFF;

  --border-light: #E2E8F0;
  --border-dark: #334155;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: monospace;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --glass-shadow: 0 8px 32px 0 rgba(30, 58, 95, 0.1);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Radii */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
}

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

html {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

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

ul {
  list-style: none;
}

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

/* Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-accent { color: var(--accent-color); }
.text-primary { color: var(--primary-color); }
.text-white { color: var(--text-white); }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }

.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-32 { padding-top: 8rem; }
.pb-32 { padding-bottom: 8rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Layout - Header & Navigation */
.header-top {
  background-color: var(--primary-color);
  color: var(--text-white);
  font-size: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.header-top-info {
  display: flex;
  gap: 1.5rem;
}

.header-top-info i {
  color: var(--accent-color);
  margin-right: 0.25rem;
}

.header-main {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: all var(--transition-normal);
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-color);
  letter-spacing: -0.02em;
  line-height: 1;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.1rem;
}

.nav-links {
  display: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    gap: 2rem;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 0.25rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width var(--transition-fast);
}

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

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

.header-actions {
  display: none;
}

@media (min-width: 768px) {
  .header-actions {
    display: flex;
    align-items: center;
  }
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-light);
}

.mobile-menu.is-open {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  font-weight: 600;
  color: var(--text-dark);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--text-white);
  box-shadow: 0 4px 14px 0 rgba(197, 32, 38, 0.39);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(197, 32, 38, 0.39);
  color: var(--text-white);
}

.btn-secondary {
  background-color: var(--primary-color);
  color: var(--text-white);
  box-shadow: 0 4px 14px 0 rgba(30, 58, 95, 0.39);
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(30, 58, 95, 0.39);
  color: var(--text-white);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--text-white);
  background-color: rgba(255, 255, 255, 0.05);
}

/* Sections & Components */
.hero-section {
  position: relative;
  background-color: var(--primary-color);
  color: var(--text-white);
  overflow: hidden;
  padding: 6rem 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-section {
    padding: 8rem 0;
  }
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 24px 24px;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,58,95,1) 0%, rgba(18,37,62,1) 100%);
  z-index: 0;
}

.hero-content-wrapper {
  position: relative;
  z-index: 10;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-content-wrapper {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
  }
}

.hero-badge {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 10px rgba(197,32,38,0.3);
}

.hero-title {
  color: var(--text-white);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) { .hero-title { font-size: 3.5rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4rem; } }

.hero-title .gradient-text {
  background: linear-gradient(to right, #ffffff, #e2e8f0, #C52026);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 36rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Glass Console */
.glass-console {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform var(--transition-slow);
}

.glass-console:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0);
}

.console-header {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.console-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background-color: #ff5f56; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green { background-color: #27c93f; }

.console-body {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.8;
}

.console-line { margin-bottom: 0.5rem; }
.text-emerald { color: #34d399; }
.text-slate { color: #94a3b8; }
.text-cyan { color: #22d3ee; }

/* Cards & Grid */
.section-title {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.section-title h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .section-title h2 { font-size: 2.5rem; } }

.service-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background-color: transparent;
  transition: background-color var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before {
  background-color: var(--accent-color);
}

.service-card-number {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-color);
  opacity: 0.2;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.service-card-link {
  font-size: 0.875rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}
.link-accent { color: var(--accent-color); }
.link-primary { color: var(--primary-color); }
.link-dark { color: var(--text-dark); }

.service-card-link i {
  transition: transform var(--transition-fast);
}
.service-card:hover .service-card-link i {
  transform: translateX(4px);
}

/* Stats Section */
.stats-section {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: 4rem 0;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 900;
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}
.val-accent { color: var(--accent-color); }
.val-white { color: var(--text-white); }

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
}

/* Footer */
.site-footer {
  background-color: var(--primary-color);
  color: var(--text-white);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-about .logo-text { color: var(--text-white); }
.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  margin: 1.5rem 0;
  max-width: 20rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
}

.social-link:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 1.125rem;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--text-white);
  padding-left: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Page Headers (Immigration, Software, Contact) */
.page-header {
  background-color: var(--primary-color);
  background-image: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: var(--text-white);
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-header-label {
  font-family: var(--font-mono);
  color: var(--accent-color);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  display: block;
}

.page-header h1 {
  color: var(--text-white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .page-header h1 { font-size: 3rem; } }

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  max-width: 48rem;
}

/* Content Blocks (Immigration & Software) */
.content-block {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.content-block:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 58, 95, 0.2);
}

.block-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.block-title {
  font-size: 1.125rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0;
}

.block-icon {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.icon-primary { background-color: rgba(30, 58, 95, 0.1); color: var(--primary-color); }
.icon-accent { background-color: rgba(197, 32, 38, 0.1); color: var(--accent-color); }

.block-badge {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
}
.badge-primary { background-color: rgba(30, 58, 95, 0.1); color: var(--primary-color); }
.badge-accent { background-color: rgba(197, 32, 38, 0.1); color: var(--accent-color); }

.block-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Team / Members */
.member-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  margin-top: 2rem;
}

.member-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.25rem;
}

.member-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
}

.member-role {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 0.5rem;
  padding-left: 0.5rem;
  border-left: 1px solid var(--border-light);
}

.member-info p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: var(--font-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background-color: var(--bg-white);
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

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

/* Step Process */
.process-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }

.process-step {
  background-color: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: transform var(--transition-normal);
}

.process-step:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.75rem;
}

.step-title {
  color: var(--text-white);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.step-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}
