/* Below-the-fold styles extracted from index.html */

/* Sections */
.hero .container,
main .container {
  max-width: 88vw;
}

.section {
  padding: 56px 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 10px;
}

.card {
  display: block;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(124,196,255,0.18);
  border-radius: 16px;
  padding: 22px;
  color: #e8f1ff;
  transition: transform .08s ease, box-shadow .15s ease, background .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 20, 60, 0.25);
  border-color: rgba(124,196,255,0.35);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
}

.card h3 { margin-top: 0; color: #ffffff; }
.card p { margin-bottom: 0; color: rgba(232,241,255,0.9); }

/* Footer */
footer {
  border-top: 1px solid rgba(124,196,255,0.15);
  color: rgba(232,241,255,0.8);
  padding: 26px 0 60px;
}

/* Responsive */
@media (min-width: 720px) {
}

/* Contact form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field span {
  color: var(--text-on-dark);
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  background: rgba(10, 30, 60, 0.4);
  border: 1px solid rgba(124,196,255,0.25);
  color: var(--text-on-dark);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(232,241,255,0.6);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(124,196,255,0.6);
  box-shadow: 0 0 0 3px rgba(124,196,255,0.25);
  background: rgba(10, 30, 60, 0.55);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

@media (min-width: 720px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-field--full { grid-column: 1 / -1; }
}

/* Contact form spacing tweaks */
.contactform .cta-row {
  margin-top: 12px;
}

/* Centered card helper */
.card--centered {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 180px;
}

/* Mobile hamburger menu */
.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  z-index: 60;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #e8f1ff;
  margin: 3px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 1px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  background: linear-gradient(180deg, rgba(8,18,36,0.95), rgba(8,18,36,0.90));
  backdrop-filter: saturate(140%) blur(8px);
  border: 1px solid rgba(124,196,255,0.25);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 20, 60, 0.25);
  z-index: 58;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 8px 0;
}

.mobile-menu a {
  color: #e8f1ff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(124,196,255,0.15);
  opacity: 0.95;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.mobile-menu a:last-child { border-bottom: none; }

.mobile-menu a:hover { opacity: 1; background: rgba(124,196,255,0.08); }

/* Ensure the menu positions relative to the header container */
.nav-inner { position: relative; }

@media (min-width: 720px) {
  .hamburger {
    display: none;
  }
}


