/* Navigation shell */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(5, 9, 18, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
  min-height: 5.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Brand and mobile navigation controls */
.brand { display: inline-flex; align-items: center; gap: 0.7rem; font-weight: 700; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--gradient-main);
  color: #04131f;
  font-size: 0.85rem;
}
.brand-text { font-family: "Plus Jakarta Sans", sans-serif; }

.menu-toggle {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 0.3rem 0.6rem;
  font-size: 1.2rem;
}

.nav-links {
  position: absolute;
  top: 100%;
  right: 1rem;
  display: none;
  flex-direction: column;
  gap: 0.9rem;
  background: rgba(7, 12, 23, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1rem;
  min-width: 220px;
}

.nav-links.open { display: flex; }
.nav-links a { color: #cfd7e7; font-weight: 500; }
.nav-links a.active { color: #fff; }

/* Shared button styles */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1.3rem;
  background: var(--gradient-main);
  color: #08121f;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 12px 30px rgba(21, 151, 188, 0.35);
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 30px rgba(21, 151, 188, 0.45); }
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.btn-ripple .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.6s linear;
  background-color: rgba(255, 255, 255, 0.55);
}

@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* Glassmorphism container used across cards/forms */
.glass-panel {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

/* Floating-label form controls */
.floating-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.8rem;
}

.floating-field {
  position: relative;
}

.floating-field input,
.floating-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(6, 12, 25, 0.5);
  color: #fff;
  padding: 1rem 0.9rem;
  font-size: 0.97rem;
  outline: 0;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.floating-field input:focus,
.floating-field textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(28, 214, 255, 0.18);
}

.floating-field label {
  position: absolute;
  left: 0.8rem;
  top: 0.95rem;
  color: #95a7c3;
  background: #0a1221;
  padding: 0 0.35rem;
  pointer-events: none;
  transition: all 0.2s ease;
}

.floating-field input:focus + label,
.floating-field input:not(:placeholder-shown) + label,
.floating-field textarea:focus + label,
.floating-field textarea:not(:placeholder-shown) + label {
  top: -0.55rem;
  font-size: 0.75rem;
  color: #d2f7ff;
}

.error-message {
  color: #ff96b8;
  display: block;
  min-height: 1rem;
  margin-top: 0.25rem;
  font-size: 0.8rem;
}

.form-feedback {
  min-height: 1.4rem;
  margin: 0;
  font-weight: 600;
}

/* Footer layout */
.site-footer {
  padding: 3rem 0 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(2, 6, 14, 0.95);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.footer-grid h4,
.footer-grid h3 { margin-bottom: 0.7rem; }

.footer-grid a,
.footer-grid p { display: block; margin-bottom: 0.4rem; color: #b4bfd3; }

.copyright {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.86rem;
}

@media (min-width: 840px) {
  .menu-toggle { display: none; }
  .nav-links {
    position: static;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 1.2rem;
    background: transparent;
    border: 0;
    padding: 0;
    min-width: unset;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

