/* TwinVault Technologies - Premium Core Stylesheet */

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

/* Color Variables & Styling Design Tokens */
:root {
  --bg-primary: #0b0c10;
  --bg-secondary: #11141a;
  --accent-silver: #9aa0a6;
  --action-gray: #1f2833;
  --action-hover: #2d3b4d;
  --border-metallic: rgba(154, 160, 166, 0.15);
  --border-active: rgba(154, 160, 166, 0.8);
  
  --text-light: #ffffff;
  --text-muted: #8a8f98;
  --text-body: #d1d5db;
  
  --font-headings: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-bezier: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
  
  --glow-light: 0 0 25px rgba(154, 160, 166, 0.18);
  --glow-button: 0 0 15px rgba(154, 160, 166, 0.25);
  --glow-heading: 0 0 10px rgba(255, 255, 255, 0.1);
  
  --border-radius-card: 12px;
  --border-radius-btn: 6px;
  --max-width: 1200px;
}

/* Global Reset & Base Elements */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 16px;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-primary);
  min-height: 100vh;
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

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

.text-center {
  text-align: center;
}

/* Core Typography Definitions */
h1, h2, h3, h4 {
  font-family: var(--font-headings);
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

/* Section Header Typography */
.section-title {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: var(--glow-heading);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--accent-silver);
  box-shadow: 0 0 8px rgba(154, 160, 166, 0.6);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 4rem auto;
  font-weight: 300;
}

/* Button & Action Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1.1rem 2.2rem;
  border-radius: var(--border-radius-btn);
  cursor: pointer;
  transition: var(--transition-bezier);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--action-gray);
  color: var(--text-light);
  border: 1px solid var(--accent-silver);
  box-shadow: var(--glow-button);
}

.btn-primary:hover {
  background-color: var(--text-light);
  color: var(--bg-primary);
  border-color: var(--text-light);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent-silver);
  border: 1px solid var(--border-metallic);
}

.btn-secondary:hover {
  background-color: rgba(154, 160, 166, 0.1);
  color: var(--text-light);
  border-color: var(--accent-silver);
  transform: translateY(-2px);
}

/* Glassmorphic Metallic Cards */
.metallic-card {
  position: relative;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-metallic);
  border-radius: var(--border-radius-card);
  padding: 2.5rem;
  overflow: hidden;
  transition: var(--transition-bezier);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.metallic-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-silver);
  box-shadow: var(--glow-light), 0 15px 40px rgba(0, 0, 0, 0.6);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% -20%, rgba(154, 160, 166, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition-bezier);
  pointer-events: none;
}

.metallic-card:hover .card-glow {
  opacity: 1;
}

/* ---------------------------------------------------- */
/* Premium Navbar Layout */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: rgba(11, 12, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(154, 160, 166, 0.08);
  z-index: 1000;
  transition: var(--transition-bezier);
}

.navbar.scrolled {
  height: 70px;
  background-color: rgba(11, 12, 16, 0.95);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

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

.nav-logo-img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 0 5px rgba(255,255,255,0.25));
}

.brand-text {
  font-family: var(--font-headings);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-light);
  letter-spacing: 0.15em;
}

.brand-text .highlight {
  color: var(--accent-silver);
  font-weight: 300;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--text-light);
}

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

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

.nav-cta-btn {
  font-family: var(--font-headings);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  border: 1px solid var(--accent-silver);
  padding: 0.7rem 1.4rem;
  border-radius: var(--border-radius-btn);
  background-color: transparent;
  transition: var(--transition-fast);
  box-shadow: 0 0 10px rgba(154, 160, 166, 0.1);
}

.nav-cta-btn:hover {
  background-color: var(--text-light);
  color: var(--bg-primary);
  border-color: var(--text-light);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 19px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-light);
  transition: var(--transition-fast);
}

/* ---------------------------------------------------- */
/* 1. Hero Section Layout */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 120px 0 80px 0;
  overflow: hidden;
  text-align: center;
}

.hero-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(rgba(11, 12, 16, 0.85), rgba(11, 12, 16, 0.95)),
    radial-gradient(circle at center, transparent 30%, var(--bg-primary) 80%),
    repeating-linear-gradient(0deg, rgba(154, 160, 166, 0.02) 0px, rgba(154, 160, 166, 0.02) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, rgba(154, 160, 166, 0.02) 0px, rgba(154, 160, 166, 0.02) 1px, transparent 1px, transparent 40px);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 850px;
}

.shield-container {
  margin-bottom: 2rem;
  position: relative;
}

.hero-shield-img {
  height: 140px;
  width: auto;
  filter: drop-shadow(0 0 25px rgba(154, 160, 166, 0.35));
  animation: floatShield 6s ease-in-out infinite;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #ffffff 30%, #9aa0a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-body);
  margin-bottom: 3rem;
  font-weight: 300;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

.hero-glow-accent {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(154, 160, 166, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Float Animation */
@keyframes floatShield {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* ---------------------------------------------------- */
/* 2. About Section Layout */
.about-section {
  padding: 8rem 0;
  background-color: var(--bg-primary);
  border-top: 1px solid rgba(154, 160, 166, 0.05);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.about-cards .metallic-card {
  padding: 2.2rem;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(17, 20, 26, 0.7) 100%);
}

.card-icon {
  width: 48px;
  height: 48px;
  color: var(--accent-silver);
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 0 4px rgba(154, 160, 166, 0.3));
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.about-cards h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-cards p {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

/* Commitment Container */
.commitment-container {
  padding: 3rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-metallic);
  border-radius: var(--border-radius-card);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.3);
}

.commitment-title {
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.commitment-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-weight: 300;
}

.commitment-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.commitment-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.checkbox-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 1px solid var(--accent-silver);
  background-color: rgba(154, 160, 166, 0.1);
  color: var(--text-light);
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 0 5px rgba(154, 160, 166, 0.15);
}

.check-icon {
  width: 12px;
  height: 12px;
  filter: drop-shadow(0 0 2px var(--text-light));
}

.commitment-list span {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.5;
  font-weight: 400;
}

/* ---------------------------------------------------- */
/* 3. Services Section Grid Layout */
.services-section {
  padding: 8rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(154, 160, 166, 0.03);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  border-radius: var(--border-radius-card);
  background: var(--bg-primary);
}

.service-icon {
  width: 50px;
  height: 50px;
  color: var(--accent-silver);
  margin-bottom: 1.5rem;
  opacity: 0.85;
  transition: var(--transition-fast);
}

.service-card:hover .service-icon {
  color: var(--text-light);
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.4));
  transform: scale(1.05);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}

/* ---------------------------------------------------- */
/* 4. Why Choose Us: Pillars Section Layout */
.pillars-section {
  padding: 8rem 0;
  background-color: var(--bg-primary);
  border-top: 1px solid rgba(154, 160, 166, 0.05);
}

.pillars-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--border-metallic);
  border-radius: var(--border-radius-card);
  background-color: var(--bg-secondary);
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
}

.pillar-column {
  padding: 3rem 2rem;
  border-right: 1px solid var(--border-metallic);
  transition: var(--transition-bezier);
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.15) 100%);
}

.pillar-column:last-child {
  border-right: none;
}

.pillar-column:hover {
  background-color: var(--bg-primary);
  box-shadow: inset 0 -4px 0 var(--accent-silver);
}

.pillar-num {
  font-family: var(--font-headings);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(154, 160, 166, 0.12);
  margin-bottom: 1.5rem;
  line-height: 1;
  transition: var(--transition-fast);
}

.pillar-column:hover .pillar-num {
  color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  text-shadow: 0 0 10px rgba(255,255,255,0.1);
}

.pillar-title {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
}

.pillar-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}

.pillar-column:hover .pillar-desc {
  color: var(--text-body);
}

/* ---------------------------------------------------- */
/* 5. Contact Section Layout */
.contact-section {
  padding: 8rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(154, 160, 166, 0.03);
}

.contact-split {
  display: grid;
  grid-template-columns: minmax(320px, 420px) 1fr;
  gap: 5rem;
  align-items: flex-start;
}

.contact-info {
  position: relative;
  z-index: 1;
}

.contact-network-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  overflow: hidden;
}

.network-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 255, 204, 0.95);
  box-shadow: 0 0 18px rgba(0, 255, 204, 0.35);
  animation: flickerDot 2.8s ease-in-out infinite alternate;
}

.network-node.node-1 { top: 12%; left: 10%; }
.network-node.node-2 { top: 28%; left: 65%; animation-delay: 0.15s; }
.network-node.node-3 { top: 54%; left: 22%; animation-delay: 0.3s; }
.network-node.node-4 { top: 72%; left: 50%; animation-delay: 0.5s; }

.network-line {
  position: absolute;
  background: linear-gradient(90deg, rgba(0,255,204,0.4), rgba(0,255,204,0.0));
  filter: blur(0.7px);
  animation: flowLine 4s linear infinite;
}

.network-line.line-1 {
  top: 16%;
  left: 14%;
  width: 48%;
  height: 1px;
}

.network-line.line-2 {
  top: 31%;
  left: 22%;
  width: 28%;
  height: 1px;
  transform: rotate(18deg);
}

.network-line.line-3 {
  top: 58%;
  left: 15%;
  width: 40%;
  height: 1px;
  transform: rotate(-12deg);
}

.network-line.line-4 {
  top: 76%;
  left: 40%;
  width: 30%;
  height: 1px;
  transform: rotate(10deg);
}

.contact-info::before,
.contact-info::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  box-shadow: 0 0 120px rgba(0, 255, 204, 0.08);
  opacity: 0.22;
}

.contact-info::before {
  width: 220px;
  height: 220px;
  top: -30px;
  left: -40px;
}

.contact-info::after {
  width: 180px;
  height: 180px;
  bottom: -20px;
  right: -10px;
}

@keyframes flickerDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.4; }
}

@keyframes flowLine {
  0% { transform: translateX(-4px) rotate(0deg); opacity: 0.2; }
  50% { opacity: 0.55; }
  100% { transform: translateX(4px) rotate(0deg); opacity: 0.2; }
}

.contact-main-title {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-info-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 3.5rem;
  font-weight: 300;
  max-width: 500px;
}

/* Coordinates List */
.coordinates-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.coordinate-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.coord-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-metallic);
  color: var(--accent-silver);
  transition: var(--transition-fast);
}

.coordinate-item:hover .coord-icon {
  color: var(--text-light);
  border-color: var(--accent-silver);
  box-shadow: 0 0 15px rgba(154, 160, 166, 0.2);
}

.coord-icon svg {
  width: 22px;
  height: 22px;
}

.coord-text {
  display: flex;
  flex-direction: column;
}

.coord-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.coord-link {
  font-family: var(--font-headings);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-light);
}

.coord-link:hover {
  color: var(--accent-silver);
}

/* Embedded Custom Interactive Form */
.contact-form-container .form-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-metallic);
  border-radius: var(--border-radius-card);
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.contact-form-container .form-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-silver);
}

.form-title {
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.form-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
  font-weight: 300;
}

.interactive-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-headings);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-metallic);
  border-radius: 4px;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-light);
  outline: none;
  transition: var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-silver);
  box-shadow: 0 0 8px rgba(154, 160, 166, 0.25);
  background-color: var(--bg-primary);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239AA0A6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 1.1rem) center;
  background-size: 14px;
}

/* Cloudflare Turnstile Widget Styling */
.form-group .cf-turnstile {
  display: flex;
  justify-content: flex-start;
  margin-top: 0.75rem;
  padding: 12px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-metallic);
  border-radius: 4px;
}

.cf-turnstile iframe {
  max-width: 100%;
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: var(--action-gray);
  border: 1px solid var(--accent-silver);
  color: var(--text-light);
  padding: 1.1rem;
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--border-radius-btn);
  cursor: pointer;
  transition: var(--transition-bezier);
  box-shadow: 0 0 10px rgba(154, 160, 166, 0.15);
  position: relative;
}

.submit-btn:hover {
  background-color: var(--text-light);
  color: var(--bg-primary);
  border-color: var(--text-light);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.3);
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 0.75rem;
}

.btn-spinner.hidden {
  display: none;
}

/* Form Submission Feedback Overlay */
.form-feedback {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  text-align: center;
  animation: fadeIn 0.3s ease;
}

.form-feedback.success {
  background-color: rgba(154, 160, 166, 0.1);
  border: 1px solid rgba(154, 160, 166, 0.4);
  color: var(--text-light);
}

.form-feedback.error {
  background-color: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #f87171;
}

.form-feedback.hidden {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------------------------------------------------- */
/* 6. Footer Layout Section */
.footer {
  padding: 5rem 0;
  background-color: var(--bg-primary);
  border-top: 1px solid rgba(154, 160, 166, 0.05);
}

.footer-shield {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.footer-shield-img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(154, 160, 166, 0.25));
}

.footer-logo-fallback {
  display: none;
}

.footer-brand-text {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ---------------------------------------------------- */
/* Dynamic Scroll Animations & Fade-ins */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: visualFadeIn 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes visualFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Fade Element initial state */
.scroll-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Activated State (added via JS Observer) */
.scroll-fade.active {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------- */
/* Responsive Media Guidelines (Perfect Scaling) */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .pillars-container {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .pillar-column:nth-child(3) {
    border-right: none;
  }
  
  .pillar-column:nth-child(4),
  .pillar-column:nth-child(5) {
    border-top: 1px solid var(--border-metallic);
  }
  
  .pillar-column:nth-child(4) {
    border-right: 1px solid var(--border-metallic);
  }
}

@media (max-width: 768px) {
  /* Layout adjustments */
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-split {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .pillars-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pillar-column:nth-child(even) {
    border-right: none;
  }
  
  .pillar-column:nth-child(3) {
    border-right: 1px solid var(--border-metallic);
    border-top: 1px solid var(--border-metallic);
  }
  
  .pillar-column:nth-child(5) {
    grid-column: span 2;
    border-top: 1px solid var(--border-metallic);
  }

  /* Hamburger Menu Styling */
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-primary);
    border-top: 1px solid rgba(154, 160, 166, 0.05);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    transition: var(--transition-bezier);
    z-index: 999;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }
  
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }
}

@media (max-width: 580px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    padding: 0 2rem;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .pillars-container {
    grid-template-columns: 1fr;
  }
  
  .pillar-column {
    border-right: none !important;
    border-bottom: 1px solid var(--border-metallic);
  }
  
  .pillar-column:last-child {
    border-bottom: none;
    grid-column: span 1;
  }
  
  .commitment-container {
    padding: 1.5rem;
  }
  
  .contact-form-container .form-card {
    padding: 2rem 1.5rem;
  }
  
  .navbar {
    height: 70px;
  }
  
  .nav-links {
    top: 70px;
    height: calc(100vh - 70px);
  }
}

/* ---------------------------------------------------- */
/* Corporate Identity Showcase Section & Footer Banner */
.identity-showcase {
  padding: 6rem 0;
  background-color: var(--bg-primary);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(154, 160, 166, 0.05);
}

.showcase-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem;
  background: linear-gradient(135deg, rgba(17, 20, 26, 0.8) 0%, rgba(11, 12, 16, 0.95) 100%);
  border: 1px solid rgba(154, 160, 166, 0.15);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 0 40px rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
}

.showcase-logo-img {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-card);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(154, 160, 166, 0.1);
  transition: var(--transition-bezier);
  margin-bottom: 2rem;
}

.showcase-logo-img:hover {
  transform: scale(1.02) translateY(-5px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(154, 160, 166, 0.15);
  border-color: rgba(154, 160, 166, 0.4);
}

.showcase-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.showcase-tag {
  font-family: var(--font-headings);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-silver);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(154, 160, 166, 0.3);
}

.showcase-caption {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 500px;
  margin-top: 0.5rem;
}

/* Footer Lockup Image */
.footer-lockup {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.footer-lockup-img {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 0 15px rgba(154, 160, 166, 0.3));
  transition: var(--transition-bezier);
}

.footer-lockup-img:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.35));
}

@media (max-width: 768px) {
  .showcase-card {
    padding: 2.5rem 1.5rem;
  }
  .showcase-logo-img {
    max-width: 100%;
  }
  .footer-lockup-img {
    height: 45px;
  }
}

/* --- Premium Interactive Cyber Checkboxes & Tooltips --- */

:root {
  --accent-cyber: #00ffcc;
  --accent-cyber-glow: rgba(0, 255, 204, 0.25);
  --accent-amber: #ff9f43;
  --accent-amber-glow: rgba(255, 159, 67, 0.25);
}

.defense-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 0.75rem;
}

@media (max-width: 768px) {
  .defense-checkbox-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

.form-checkbox-label {
  display: flex;
  align-items: center;
  position: relative;
  padding: 1rem 1.25rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-metallic);
  border-radius: var(--border-radius-btn);
  cursor: pointer;
  transition: var(--transition-bezier);
  user-select: none;
  overflow: visible;
}

.form-checkbox-label:hover:not(.disabled-layer) {
  border-color: var(--accent-cyber);
  box-shadow: 0 0 15px var(--accent-cyber-glow);
  transform: translateY(-2px);
  background-color: rgba(0, 255, 204, 0.02);
}

/* Hide standard HTML checkbox */
.form-checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Custom checkbox box */
.custom-checkbox {
  position: relative;
  height: 18px;
  width: 18px;
  background-color: var(--bg-primary);
  border: 1.5px solid var(--accent-silver);
  border-radius: 3px;
  margin-right: 0.75rem;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.form-checkbox-label:hover:not(.disabled-layer) .custom-checkbox {
  border-color: var(--accent-cyber);
}

/* When the checkbox is checked, add a cyan background and active state */
.form-checkbox-label input[type="checkbox"]:checked ~ .custom-checkbox {
  background-color: var(--accent-cyber);
  border-color: var(--accent-cyber);
  box-shadow: 0 0 8px var(--accent-cyber);
}

/* Create the checkmark indicator (hidden when not checked) */
.custom-checkbox::after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid var(--bg-primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Show the checkmark when checked */
.form-checkbox-label input[type="checkbox"]:checked ~ .custom-checkbox::after {
  display: block;
}

/* Label text style */
.form-checkbox-label .label-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-body);
  transition: var(--transition-fast);
}

.form-checkbox-label input[type="checkbox"]:checked ~ .label-text {
  color: var(--text-light);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

/* Disabled/Coming Soon Layer Styling */
.form-checkbox-label.disabled-layer {
  cursor: not-allowed;
  opacity: 0.55;
  background-color: rgba(17, 20, 26, 0.4);
  border: 1px dashed rgba(154, 160, 166, 0.15);
}

.form-checkbox-label.disabled-layer:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(154, 160, 166, 0.15);
}

.custom-checkbox.disabled-box {
  background-color: rgba(11, 12, 16, 0.5);
  border: 1.5px dashed var(--text-muted);
}

.coming-soon-badge {
  margin-left: auto;
  background: rgba(255, 159, 67, 0.1);
  border: 1px solid var(--accent-amber);
  color: var(--accent-amber);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 0 8px var(--accent-amber-glow);
  animation: pulseAmber 2s infinite ease-in-out;
}

@keyframes pulseAmber {
  0% {
    box-shadow: 0 0 4px var(--accent-amber-glow);
    opacity: 0.8;
  }
  50% {
    box-shadow: 0 0 12px var(--accent-amber);
    opacity: 1;
  }
  100% {
    box-shadow: 0 0 4px var(--accent-amber-glow);
    opacity: 0.8;
  }
}

/* Hardening Workflow Tooltip Styling */
.info-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.5rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: rgba(154, 160, 166, 0.1);
  border: 1px solid rgba(154, 160, 166, 0.3);
  cursor: help;
  transition: var(--transition-fast);
}

.info-icon {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-silver);
  line-height: 1;
}

.form-checkbox-label:hover .info-trigger {
  background-color: rgba(0, 255, 204, 0.1);
  border-color: var(--accent-cyber);
}

.form-checkbox-label:hover .info-icon {
  color: var(--accent-cyber);
}

.workflow-tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  width: 280px;
  background-color: rgba(11, 12, 16, 0.95);
  border: 1px solid var(--accent-cyber);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 15px var(--accent-cyber-glow);
  backdrop-filter: blur(10px);
  z-index: 100;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  pointer-events: none;
}

.workflow-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: var(--accent-cyber) transparent transparent transparent;
}

.form-checkbox-label:hover .workflow-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.workflow-tooltip strong {
  display: block;
  font-family: var(--font-headings);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 255, 204, 0.2);
  padding-bottom: 0.35rem;
}

.tooltip-line {
  display: block;
  font-size: 0.75rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 0.35rem;
}

.tooltip-line:last-child {
  margin-bottom: 0;
}

/* --- Geolocation Modal Styles --- */
.geo-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 11, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.geo-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.geo-modal-content {
  background: rgba(10, 20, 40, 0.95);
  border: 1px solid rgba(0, 255, 204, 0.3);
  box-shadow: 0 0 30px rgba(0, 255, 204, 0.15), inset 0 0 20px rgba(0, 255, 204, 0.05);
  border-radius: 12px;
  max-width: 450px;
  width: 90%;
  padding: 2.5rem;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.geo-modal-overlay.active .geo-modal-content {
  transform: translateY(0);
}

.geo-modal-header {
  margin-bottom: 1.5rem;
}

.geo-logo {
  max-width: 180px;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(0, 255, 204, 0.4));
}

.geo-modal-body h3 {
  font-family: var(--font-headings);
  color: var(--text-light);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.geo-prompt-text {
  font-size: 1.1rem;
  color: var(--accent-cyber);
  margin-bottom: 1.5rem;
}

.geo-policy-box {
  background: rgba(0, 0, 0, 0.4);
  border-left: 3px solid var(--accent-cyber);
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  text-align: left;
}

.geo-policy-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.geo-contact-info {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 2rem;
}

.geo-contact-info a {
  color: var(--accent-cyber);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.geo-contact-info a:hover {
  color: #fff;
  text-shadow: 0 0 8px var(--accent-cyber);
}

.geo-modal-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.geo-modal-actions .btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  flex: 1;
}
