/* ==========================================================================
   Amytis IT Solutions Inc. - Modern Tech-Light Design System
   ========================================================================== */

:root {
  /* Color Palette - Modern Clean Light & Vivid Electric Accents */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-surface-glass: rgba(255, 255, 255, 0.95);
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;

  --text-primary: #0f172a;       /* Deep slate 900 */
  --text-secondary: #475569;     /* Slate 600 */
  --text-muted: #64748b;         /* Slate 500 */
  --text-accent: #2563eb;        /* Electric blue 600 */

  --accent-primary: #2563eb;
  --accent-primary-hover: #1d4ed8;
  --accent-cyan: #0284c7;
  --accent-indigo: #4f46e5;
  --accent-purple: #7c3aed;
  --accent-emerald: #059669;
  --accent-amber: #d97706;
  --accent-pink: #db2777;

  --gradient-primary: linear-gradient(135deg, #1d4ed8 0%, #4f46e5 50%, #7c3aed 100%);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.08), transparent 70%);

  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.14);
  --border-focus: #2563eb;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Plus Jakarta Sans', var(--font-sans);

  /* Spacing */
  --container-max: 1200px;
  --container-padding: clamp(1rem, 4vw, 2rem);
  --nav-height: 76px;

  /* Transitions & Shadows */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.12);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image: 
    radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.04) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(99, 102, 241, 0.04) 0px, transparent 50%);
  background-attachment: fixed;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--accent-primary);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  z-index: 1000;
  font-weight: 600;
  text-decoration: none;
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid #0f172a;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  color: var(--text-secondary);
  font-size: 1.025rem;
  line-height: 1.75;
}

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

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

:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 3px;
}

/* Container & Layout */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.main-content {
  flex: 1 0 auto;
  padding-top: calc(var(--nav-height) + 1.5rem);
  padding-bottom: 4rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

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

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.site-brand-logo-wrapper {
  display: flex;
  align-items: center;
  padding: 2px 0;
  transition: transform var(--transition-fast);
}
.site-brand-logo-wrapper:hover {
  transform: scale(1.02);
}

/* Desktop Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.2rem;
}

.nav-menu li {
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.925rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(15, 23, 42, 0.04);
}

.nav-link.active {
  color: var(--accent-primary);
  background: rgba(37, 99, 235, 0.08);
  font-weight: 700;
}

.nav-cta {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #ffffff !important;
  font-weight: 600;
  margin-left: 0.5rem;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.nav-cta:hover {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
  transform: translateY(-1px);
}

/* Mobile Navigation Toggle Button */
.mobile-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 0.55rem;
  color: #0f172a;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  z-index: 1001;
}

.mobile-toggle:hover, .mobile-toggle.active {
  background: #f1f5f9;
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* ==========================================================================
   Hero & Interactive Showcase
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 3.5rem 0 4.5rem;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--accent-primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  letter-spacing: 0.01em;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.6);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  max-width: 950px;
  margin: 0 auto 1.35rem;
  color: var(--text-primary);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  max-width: 780px;
  margin: 0 auto 2.25rem;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.975rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #4338ca);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
  color: #ffffff;
}

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

.btn-secondary:hover {
  background: #f8fafc;
  color: var(--accent-primary);
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Interactive Hero Tabs / Showcase */
.showcase-container {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(37, 99, 235, 0.06);
  text-align: left;
}

.showcase-tabs {
  display: flex;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: none;
}
.showcase-tabs::-webkit-scrollbar {
  display: none;
}

.showcase-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.1rem 1.4rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.showcase-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.5);
}

.showcase-tab-btn.active {
  color: var(--accent-primary);
  border-bottom-color: var(--accent-primary);
  background: #ffffff;
  font-weight: 700;
}

.showcase-panel {
  display: none;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  animation: fadeIn 0.3s ease forwards;
}

.showcase-panel.active {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

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

.showcase-info h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.showcase-info p {
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.975rem;
}

.feature-list li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--accent-primary);
  margin-top: 2px;
}

.showcase-preview-card {
  background: #f8fafc;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}

.preview-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

/* ==========================================================================
   Trust / Stats Bar
   ========================================================================== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 2.5rem 0;
  margin: 3.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.stat-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
}

.stat-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Services Grid & Cards
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 4.5rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  position: relative;
}

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

.service-card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent-primary);
}

.card-link svg {
  transition: transform var(--transition-fast);
}

.card-link:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Mobile Phone Mockup Slider
   ========================================================================== */
.phone-mockup-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.phone-mockup {
  position: relative;
  width: 280px;
  height: 490px;
  border-radius: 36px;
  border: 8px solid #0f172a;
  background: #000000;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25), 0 0 20px rgba(37, 99, 235, 0.15);
  overflow: hidden;
}

.phone-speaker-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: #334155;
  border-radius: 4px;
  z-index: 10;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.phone-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease-in-out;
  pointer-events: none;
}

.phone-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Slider Controls */
.slider-nav-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.slider-arrow-btn {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.slider-arrow-btn:hover {
  background: var(--accent-primary);
  color: #ffffff;
  border-color: var(--accent-primary);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.2);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dot.active {
  background: var(--accent-primary);
  transform: scale(1.2);
}

.slider-caption {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  min-height: 1.5rem;
}

/* ==========================================================================
   Highlight / Banner Sections
   ========================================================================== */
.highlight-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #312e81 100%);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4rem);
  margin: 3.5rem 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.highlight-banner h2 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.highlight-banner p {
  color: #e2e8f0;
  margin-bottom: 1.75rem;
}

/* CTA Card */
.cta-section {
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.08), transparent 70%), #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
  margin: 4.5rem 0 2rem;
  box-shadow: var(--shadow-md);
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  max-width: 620px;
  margin: 0 auto 2.25rem;
}

/* ==========================================================================
   Dedicated Detail Pages & Modules
   ========================================================================== */
.page-header {
  padding: 2rem 0 3rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 3rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.page-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 4rem;
}

.page-content-full {
  max-width: 850px;
  margin: 0 auto;
}

.content-block {
  margin-bottom: 2.5rem;
}

.content-block h2 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.content-block h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.content-block p {
  margin-bottom: 1rem;
}

.content-block ul {
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.content-block li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

.media-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.media-frame {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.media-frame img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
  margin: 0 auto;
}

/* ==========================================================================
   Forms & Contact Page
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: var(--shadow-sm);
}

.contact-detail-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

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

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

.form-control, .form-select, .form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.form-control:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

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

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

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

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

/* Bot Safe Obfuscated Email Styling */
.safe-email {
  font-weight: 600;
  color: var(--accent-primary);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.safe-email:hover {
  color: var(--accent-primary-hover);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #0f172a;       /* Deep slate/midnight navy footer for grounding */
  color: #f8fafc;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4.5rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 320px;
  font-size: 0.925rem;
  color: #94a3b8;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.925rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: #94a3b8;
}

/* ==========================================================================
   Responsive Breakpoints (Desktop vs Mobile/Tablet Navigation)
   ========================================================================== */
@media (max-width: 1024px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    height: calc(100vh - var(--nav-height));
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.25rem 3rem;
    gap: 0.5rem;
    display: none;
    border-top: 1px solid var(--border-subtle);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 999;
  }

  .nav-menu.open {
    display: flex !important;
  }

  .nav-menu li {
    width: 100%;
    list-style: none;
  }

  .nav-menu .nav-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 0.9rem 1.25rem;
    font-size: 1.05rem;
    color: var(--text-primary);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
  }

  .nav-menu .nav-link:hover, .nav-menu .nav-link.active {
    background: rgba(37, 99, 235, 0.08);
    color: var(--accent-primary);
    border-color: rgba(37, 99, 235, 0.15);
  }

  .nav-menu .nav-cta {
    margin-left: 0;
    margin-top: 0.75rem;
    text-align: center;
    justify-content: center;
    padding: 0.9rem;
  }

  .showcase-panel.active {
    grid-template-columns: 1fr;
  }

  .highlight-banner {
    grid-template-columns: 1fr;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
