/* ==========================================
   IDENTITEK Global Stylesheet
   ========================================== */

:root {
  --bg-dark: #070d19;
  --bg-card: rgba(48, 48, 48, 0.4);
  --border-color: rgba(95, 88, 79, 0.2);
  --accent-color: #4f9cff;
  --accent-hover: #3278d4;
  --text-main: #f9f9f9;
  --text-muted: #B7B7B7;
  --text-dimmed: #909090;
}
.footer-links .cookie-settings-trigger { width: 100%; }
.cookie-consent { align-items: stretch; flex-direction: column; gap: 12px; padding: 16px; }
.cookie-consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
.cookie-consent-actions button { padding: 8px 6px; }

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img, svg, video, iframe {
  max-width: 100%;
}

/* --- Header & Navigation Bar --- */
.site-header {
  background: rgba(10, 26, 58, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header-logo img {
  width: 42px;
  height: 42px;
  padding: 5px;
  object-fit: contain;
  border: 1px solid rgba(107, 166, 255, .4);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 105, 205, .28), rgba(10, 26, 58, .55));
  box-shadow: 0 0 14px rgba(40, 105, 205, .18);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Cardo', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.5px;
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--text-dimmed);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.main-nav > a, .main-link {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 4px;
  transition: color 0.2s ease;
}

.main-nav > a:hover, .main-link:hover, .main-nav > a.active, .main-link.active {
  color: var(--text-main);
}

/* Dropdown Sub-menus & Independent Mobile Arrow */
.dropdown {
  position: relative;
}

.dropdown-link-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dropdown-arrow-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.dropdown-arrow-btn:hover {
  color: var(--text-main);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #0d1b3a;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  min-width: 220px;
  padding: 8px 0;
  display: none;
  z-index: 1100;
}

.dropdown-menu a {
  display: block;
  padding: 8px 16px;
  color: var(--text-muted);
  font-size: 0.82rem;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.dropdown-menu a:hover {
  background: rgba(79, 156, 255, 0.15);
  color: var(--text-main);
}

/* --- Action Buttons (Store & Download App) --- */
.header-action-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-header-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  background: rgba(30, 35, 45, 0.6);
  border: 1px solid;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-header-outline svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Store Button Style (Blue Theme) */
.btn-store {
  color: #3b82f6;
  border-color: rgba(59, 130, 246, 0.35);
}

.btn-store:hover {
  background: rgba(59, 130, 246, 0.12);
  border-color: #3b82f6;
}

/* Download App Button Style (Gold/Yellow Theme) */
.btn-download-app {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.35);
}

.btn-download-app:hover {
  background: rgba(251, 191, 36, 0.12);
  border-color: #fbbf24;
}

/* Hidden by default on desktop */
.mobile-nav-links {
  display: none; 
}

/* --- Hero Section --- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: calc(100% - 32px);
  max-width: 1152px;
  min-height: 380px;
  margin: 12px auto 24px;
  padding: 64px 24px;
  border: 1px solid rgba(95, 150, 255, .2);
  border-radius: 18px;
  background-color: #06112b;
  background-image: url('../images/liquid-wallpaper.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 9, 25, .9), rgba(3, 9, 25, .58));
  z-index: 1;
}

.hero-content {
  width: 100%;
  max-width: 760px;
}

.hero .section-badge {
  color: #9cc5ff;
  border-color: rgba(79, 156, 255, .3);
  background: rgba(79, 156, 255, .15);
}

.hero h1 {
  margin: 0 0 12px;
  font-family: 'Cardo', serif;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1;
  text-wrap: balance;
}

.hero-content > p {
  max-width: 620px;
  margin: 0 auto;
  color: #d5dfef;
  font-size: 1rem;
}

@media (max-width: 640px) {
  .hero {
    width: calc(100% - 32px);
    min-height: 0;
    margin: 12px auto 20px;
    padding: 28px 20px;
    background-image: linear-gradient(90deg, rgba(3, 9, 25, .88), rgba(3, 9, 25, .46)), url('../images/liquid-wallpaper-mobile.jpg');
    background-position: center 45%;
    text-align: left;
  }

  .hero::before {
    display: none;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }

  .hero-content > p {
    width: 100%;
    max-width: 34ch;
    margin: 0;
    font-size: clamp(.9rem, 4vw, .95rem);
    line-height: 1.6;
  }

  .hero-cta-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
  }

  .hero-cta-group a {
    min-width: 0;
    justify-content: center;
    padding: 12px 14px;
    text-align: center;
  }
}

.hero > * {
  position: relative;
  z-index: 2;
}

main#main-content > .page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: calc(100% - 32px);
  max-width: 1152px;
  margin: 12px auto 24px;
  padding: clamp(28px, 5vw, 52px) 24px;
  border: 1px solid rgba(95, 150, 255, .2);
  border-radius: 18px;
  background-color: #06112b;
  background-image: linear-gradient(90deg, rgba(3, 9, 25, .9), rgba(3, 9, 25, .58)), url('/assets/images/liquid-wallpaper.jpg');
  background-position: center;
  background-size: cover;
  color: #fff;
  text-align: center;
}

main#main-content > .page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 9, 25, .25), rgba(3, 9, 25, .12));
  pointer-events: none;
}

main#main-content > .page-hero > * {
  position: relative;
  z-index: 1;
}

main#main-content > .page-hero .page-hero-mark {
  display: block;
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  padding: 6px;
  border: 1px solid rgba(107, 166, 255, .4);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 105, 205, .28), rgba(10, 26, 58, .55));
  box-shadow: 0 0 14px rgba(40, 105, 205, .18);
  object-fit: contain;
}

main#main-content > .page-hero h1 {
  margin: 0 0 12px;
  color: #fff;
  font-family: 'Cardo', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  text-wrap: balance;
}

main#main-content > .page-hero p {
  max-width: 620px;
  margin: 0 auto 8px;
  color: #d5dfef;
  font-size: 1rem;
  line-height: 1.6;
}

main#main-content > .page-hero p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  main#main-content > .page-hero {
    padding: 28px 20px;
    background-image: linear-gradient(90deg, rgba(3, 9, 25, .88), rgba(3, 9, 25, .46)), url('/assets/images/liquid-wallpaper-mobile.jpg');
    background-position: center 45%;
    text-align: left;
  }

  main#main-content > .page-hero .page-hero-mark {
    margin: 0 0 12px;
  }

  main#main-content > .page-hero h1 {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }

  main#main-content > .page-hero p {
    max-width: 34ch;
    margin-left: 0;
    font-size: .95rem;
  }
}

/* --- Main Layout Container --- */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px;
  flex: 1;
}

.intro {
  text-align: center;
  margin-bottom: 56px;
}

.intro h2 {
  font-family: 'Cardo', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.intro p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 640px;
  margin: 0 auto;
}

/* --- Main Section Layouts --- */
.section {
  position: relative;
  padding: 24px 24px;
  margin-bottom: 16px;
  scroll-margin-top: 100px;
}

.section-bg-base {
  background-color: var(--bg-dark);
}

.section-bg-base2 {
  background-color: rgba(12, 20, 35, 0.6);
}

.section-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: var(--border-color);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(95, 88, 79, 0.25);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79, 156, 255, 0.15);
  border: 1px solid rgba(79, 156, 255, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #9cc5ff;
  margin-bottom: 16px;
}

.section-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(79, 156, 255, 0.1);
  border: 1px solid rgba(79, 156, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  flex-shrink: 0;
}

.section-icon svg {
  width: 24px;
  height: 24px;
}

.section-title h2, .section-header h2 {
  font-family: 'Cardo', serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-main);
}

.section-title p, .section-header p {
  font-size: 0.85rem;
  color: var(--text-dimmed);
}

/* About & Contact Grids */
.about-grid, .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-left h2 {
  font-family: 'Cardo', serif;
  font-size: 2rem;
  margin-bottom: 16px;
}

.about-left p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.checklist {
  list-style: none;
  margin-bottom: 24px;
}

.checklist li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.about-location {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dimmed);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.about-location svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-color);
}

.about-img {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 12px;
}

.value-icon {
  width: 32px;
  height: 32px;
  color: var(--accent-color);
  margin-bottom: 12px;
}

.value-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text-main);
}

.value-card p {
  font-size: 0.8rem;
  color: var(--text-dimmed);
}

/* Content Blocks */
.content-block {
  background: var(--bg-card);
  border: 1px solid rgba(95, 88, 79, 0.15);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}

.content-block h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.content-block h3::before {
  content: '';
  width: 4px;
  height: 16px;
  background: var(--accent-color);
  border-radius: 2px;
}

.content-block p, .content-block li {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.content-block ul {
  padding-left: 20px;
  margin-top: 8px;
}

.content-block li {
  margin-bottom: 7px;
}

.content-block li::marker {
  color: var(--accent-color);
}

/* --- Team Cards & Initials Avatar Styling --- */
.team-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
  gap: 16px; 
  margin-top: 16px; 
}

.team-card { 
  background: rgba(48,48,48,0.3); 
  border: 1px solid rgba(95,88,79,0.15); 
  border-radius: 10px; 
  padding: 20px; 
  text-align: center; 
}

.team-avatar { 
  width: 60px; 
  height: 60px; 
  border-radius: 50%; 
  background: linear-gradient(135deg, #4f9cff, #6D533C); 
  margin: 0 auto 12px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-weight: 700; 
  font-size: 1.2rem; 
  color: #f9f9f9; 
}

.team-card h4 { 
  font-size: 0.95rem; 
  font-weight: 600; 
  color: #f9f9f9; 
  margin-bottom: 4px; 
}

.team-card p { 
  font-size: 0.8rem; 
  color: #909090; 
}

/* --- Job / Career Cards --- */
.job-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}

.job-card:hover {
  border-color: rgba(79, 156, 255, 0.4);
}

.job-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.job-meta {
  font-size: 0.8rem;
  color: var(--text-dimmed);
  margin-bottom: 12px;
}

.job-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.job-apply {
  display: inline-block;
  background: rgba(79, 156, 255, 0.15);
  border: 1px solid rgba(79, 156, 255, 0.3);
  color: #9cc5ff;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.job-apply:hover {
  background: var(--accent-color);
  color: var(--text-main);
}

/* --- Blog Cards --- */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}

.blog-date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.blog-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.blog-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* --- Feature Cards Grid --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.feature-card {
  background: rgba(48, 48, 48, 0.3);
  border: 1px solid rgba(95, 88, 79, 0.15);
  border-radius: 10px;
  padding: 20px;
  transition: all 0.2s;
}

.feature-card:hover {
  border-color: rgba(79, 156, 255, 0.3);
  background: rgba(48, 48, 48, 0.45);
}

.feature-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 0.84rem;
  color: var(--text-dimmed);
  line-height: 1.5;
}

/* --- Workflow Process Box --- */
.process {
  background: rgba(48, 48, 48, 0.3);
  border: 1px solid rgba(95, 88, 79, 0.15);
  border-radius: 14px;
  padding: 32px;
  margin: 32px 0;
}

.process h3 {
  font-family: 'Cardo', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  text-align: center;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.process-step {
  text-align: center;
  padding: 16px;
}

.process-step .num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(79, 156, 255, 0.15);
  border: 1px solid rgba(79, 156, 255, 0.3);
  color: var(--accent-color);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.process-step h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.process-step p {
  font-size: 0.8rem;
  color: var(--text-dimmed);
}

/* Buttons & Groups */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-color);
  color: var(--text-main);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

/* --- Call To Action Box --- */
.cta-section {
  text-align: center;
  margin: 56px 0 32px;
  padding: 40px 24px;
  background: rgba(79, 156, 255, 0.06);
  border: 1px solid rgba(79, 156, 255, 0.15);
  border-radius: 14px;
}

.cta-section h3 {
  font-family: 'Cardo', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.cta-section p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.cta-section a {
  display: inline-block;
  padding: 14px 36px;
  background: var(--accent-color);
  color: var(--text-main);
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.2s;
  text-decoration: none;
}

.cta-section a:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* Contact Form Styling */
.contact-info h3 {
  font-family: 'Cardo', serif;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(79, 156, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  flex-shrink: 0;
}

.contact-icon-wrap svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dimmed);
  margin-bottom: 2px;
}

.contact-item a {
  color: var(--text-main);
  text-decoration: none;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 32px;
  border-radius: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-group input, .form-group textarea {
  width: 100%;
  background: rgba(10, 13, 25, 0.6);
  border: 1px solid var(--border-color);
  padding: 12px;
  border-radius: 8px;
  color: var(--text-main);
  font-family: inherit;
}

.form-group input:focus, .form-group textarea:focus {
  outline: 3px solid var(--text-muted);
  outline-offset: 2px;
  border-color: var(--accent-color);
}

:focus-visible {
  outline: 3px solid var(--text-muted);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10001;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 6px;
  background: #f9f9f9;
  color: #070d19;
  font-weight: 600;
}

.skip-link:focus {
  transform: translateY(0);
}

.contact-form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.legal-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.legal-quick-links a {
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-main);
}

.legal-quick-links a:hover {
  border-color: var(--accent-color);
}

.form-submit {
  width: 100%;
  justify-content: center;
}

/* Shared footer styling used on IDENTITEK.co.za and IDENTITEK.store. */
.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(95, 150, 255, .2);
  background: linear-gradient(155deg, rgba(10, 26, 58, .96), #070d19);
  color: var(--text-main);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  text-decoration: none;
}

.footer-brand:hover,
.footer-brand:focus-visible {
  color: #fff;
  text-decoration: none;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  padding: 5px;
  border: 1px solid rgba(107, 166, 255, .4);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 105, 205, .28), rgba(10, 26, 58, .55));
  box-shadow: 0 0 14px rgba(40, 105, 205, .18);
  object-fit: contain;
}

.footer-brand span {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  font: 700 1rem 'Cardo', serif;
  color: inherit;
}

.footer-brand small,
.copyright {
  color: var(--text-dimmed);
  font-size: .75rem;
}

.footer-brand small {
  text-decoration: none;
}

.footer-socials,
.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-socials a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid rgba(107, 166, 255, .18);
  border-radius: 7px;
  color: var(--text-muted);
  font-size: .82rem;
  line-height: 1.35;
  text-decoration: none;
  transition: color .2s, background .2s, border-color .2s;
}

.footer-socials a {
  width: 36px;
  padding: 7px;
}

.footer-socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-socials a:hover,
.footer-links a:hover {
  border-color: rgba(107, 166, 255, .45);
  background: rgba(40, 105, 205, .14);
  color: var(--text-main);
}

.footer-links .cookie-settings-trigger {
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid rgba(107, 166, 255, .18);
  border-radius: 7px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: .82rem;
  line-height: 1.35;
  cursor: pointer;
}

.footer-links .cookie-settings-trigger:hover {
  border-color: rgba(107, 166, 255, .45);
  background: rgba(40, 105, 205, .14);
  color: var(--text-main);
}

.cookie-consent[hidden] { display: none; }
.cookie-consent {
  position: fixed;
  z-index: 1200;
  right: 16px;
  bottom: 16px;
  left: 16px;
  max-width: 760px;
  margin: 0 auto;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(107, 166, 255, .35);
  border-radius: 14px;
  background: #0b1730;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .45);
}
.cookie-consent h2 { margin: 0 0 4px; color: var(--text-main); font-size: 1rem; }
.cookie-consent p { margin: 0; color: var(--text-muted); font-size: .82rem; }
.cookie-consent p a { color: #93c5fd; text-decoration: underline; }
.cookie-consent .cookie-development-warning {
  margin-top: 8px;
  padding: 8px 10px;
  border-left: 3px solid #fbbf24;
  border-radius: 5px;
  background: rgba(251, 191, 36, .1);
  color: #fde68a;
}
.cookie-consent .cookie-development-warning strong { color: #fcd34d; }
.cookie-consent-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 8px; }
.cookie-consent-actions button {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(107, 166, 255, .4);
  border-radius: 8px;
  background: rgba(40, 105, 205, .18);
  color: var(--text-main);
  font: inherit;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
}
.cookie-consent-actions button:last-child { background: var(--accent-color); }
.cookie-consent-actions button:hover { background: var(--accent-hover); }

.copyright {
  width: 100%;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

/* --- Floating WhatsApp Button Styles & Pulse Animation --- */
@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
  display: flex;
  align-items: center;
  background: #25d366;
  color: #fff;
  border-radius: 50px;
  padding: 10px 18px 10px 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: whatsappPulse 2.2s infinite ease-in-out;
  transition: transform 0.3s ease, background 0.3s ease, opacity 0.2s ease;
}

.whatsapp-float.is-footer-visible {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.whatsapp-float:hover {
  background: #20ba5a;
  transform: scale(1.05);
  animation: none;
}

.whatsapp-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50px;
  z-index: -1;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none !important;
}

.whatsapp-float a:hover,
.whatsapp-float a:focus {
  text-decoration: none !important;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  flex-shrink: 0;
  text-decoration: none !important;
}

.whatsapp-float .w-label {
  margin-left: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  text-decoration: none !important;
}

/* --- Media Queries & Responsive Design --- */
@media (min-width: 901px) {
  .dropdown:hover .dropdown-menu,
  .dropdown.is-open .dropdown-menu {
    display: block;
  }
  
  #mobileMenuBtn,
  .mobile-nav-links {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.main-nav .mobile-header-link {
  display: none;
}

.main-nav .mobile-nav-break {
  display: none;
}

@media (min-width: 961px) and (max-width: 1100px) {
  .site-header .header-container {
    gap: 12px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .main-nav {
    gap: 8px;
  }

  .main-nav > a,
  .main-nav .main-link {
    padding-right: 2px;
    padding-left: 2px;
  }

  .site-header .header-container .header-action-buttons {
    gap: 6px !important;
  }

  .site-header .header-container .btn-header-outline {
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media (max-width: 960px) {
  .site-header .header-container {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
  }

  .header-logo {
    max-width: 65%;
  }

  .logo-text .brand-tagline {
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .main-nav {
    display: none !important;
  }

  #mobileMenuBtn {
    display: flex !important;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
  }

  .site-header .header-container > div:last-of-type {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    margin-right: 5px;
  }

  .site-header .header-container .btn-header-outline {
    padding: 5px 8px !important;
    font-size: 11px !important;
  }

  .site-header .header-container .btn-header-outline svg {
    width: 14px;
    height: 14px;
  }

  .mobile-nav-links {
    width: 100%;
    background-color: #0b192c;
    padding: 10px 15px 20px 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    display: none;
    flex-direction: column;
  }

  .mobile-nav-links > a {
    display: block;
    color: var(--text-muted, #ccc);
    padding: 12px 0;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 15px;
  }

  .mobile-nav-links .dropdown {
    position: static !important;
    width: 100%;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .mobile-nav-links .dropdown-link-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
  }

  .mobile-nav-links .dropdown-link-wrapper a {
    color: var(--text-muted, #ccc);
    text-decoration: none;
    font-size: 15px;
  }

  .mobile-nav-links .dropdown-arrow-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 10px;
  }

  .mobile-nav-links .dropdown-menu {
    display: none;
    position: static !important;
    float: none;
    width: 100%;
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0.2);
    padding-left: 15px;
    padding-bottom: 5px;
    border: none;
  }

  .mobile-nav-links .dropdown.is-open .dropdown-menu {
    display: block !important;
  }

  .mobile-nav-links .dropdown-menu a {
    display: block;
    padding: 8px 0;
    color: #aaa;
    font-size: 13px;
    text-decoration: none;
    border-bottom: none;
  }

}

@media (max-width: 768px) {
  .header-container {
    flex-direction: row;
    gap: 8px;
  }
  
  .section-title h2, .section-header h2 {
    font-size: 1.25rem;
  }
  
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
  
  .about-grid, .contact-grid, .form-row {
    grid-template-columns: 1fr;
  }

  /* Force feature/service grids to single column on mobile to prevent overflow */
  .feature-grid, 
  .services-grid, 
  [class*="-grid"] {
    grid-template-columns: 1fr !important;
  }

  .footer-inner {
    gap: 16px;
    padding: 20px 16px;
  }

  .footer-top {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .footer-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-links a {
    overflow-wrap: anywhere;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    padding: 10px;
  }

  .whatsapp-float .w-label {
    display: none;
  }
}

@media (max-width: 960px) {
  .site-header .header-container {
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    row-gap: 5px;
    padding: 12px 16px;
  }

  .site-header .header-container .header-logo {
    max-width: 100%;
  }

  .site-header .header-container .main-nav {
    display: flex !important;
    order: 2;
    flex: 1 0 100%;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px;
  }

  .main-nav > a,
  .main-nav .main-link {
    padding: 7px 8px;
  }

  .main-nav .dropdown-link-wrapper {
    justify-content: flex-start;
  }

  .main-nav .dropdown-arrow-btn,
  .main-nav .dropdown-menu,
  .main-nav .mobile-header-nav-hidden,
  .mobile-nav-links,
  #mobileMenuBtn {
    display: none !important;
  }

  .main-nav .mobile-header-link {
    display: inline-flex;
  }

  .main-nav .mobile-nav-break {
    display: none;
  }

  .main-nav .store-link,
  .main-nav .cart-link {
    border: 1px solid rgba(79, 156, 255, .45);
    color: var(--text-main);
  }

  .main-nav .cart-link {
    background: var(--accent-color);
  }

  .site-header .header-container .header-action-buttons {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .site-header .header-container {
    padding-bottom: 9px;
  }

  .hero-cta-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
  }

  .hero-cta-group a {
    min-width: 0;
    justify-content: center;
    padding: 12px 14px;
    text-align: center;
  }

  .main-nav .mobile-nav-break {
    display: block;
    flex: 0 0 100%;
    height: 0;
  }
}