/* Global styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #0B2A3B;
  color: #FFFFFF;
  line-height: 1.6;
}

a {
  color: #FFFFFF;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

main {
  min-height: 70vh;
}

/* Layout helpers */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Header / Navbar */
.site-header {
  background-color: rgba(11, 42, 59, 0.95);
  color: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

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

.brand img {
  height: 40px;
  width: auto;
}

.brand span {
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Desktop nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links a:hover {
  text-decoration: none;
  opacity: 0.8;
}

/* Hamburger for mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  background-color: #FFFFFF;
  border-radius: 2px;
}

/* Hero section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  color: #FFFFFF;
  background-image: url("nirvyn-background.jpg");
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 42, 59, 0.9),
    rgba(11, 42, 59, 0.7)
  );
}

.hero-content {
  position: relative;
  padding: 4rem 0;
}

.hero-title {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  max-width: 650px;
}

.hero-cta {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 1px solid #FFFFFF;
  background-color: transparent;
  color: #FFFFFF;
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-cta:hover {
  background-color: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

/* Section base */
.section {
  padding: 3rem 0;
}

.section-heading {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 700px;
}

/* Solutions overview cards */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.solution-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.solution-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.18);
}

.solution-header {
  width: 100%;
  border: none;
  background: none;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  cursor: pointer;
}

.solution-header-text h3 {
  margin: 0;
  font-size: 1.05rem;
}

.solution-header-text p {
  margin: 0.3rem 0 0;
  font-size: 0.92rem;
  opacity: 0.9;
}

.caret {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

/* Collapsible body */
.solution-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 1.25rem;
}

.solution-body-inner {
  padding-bottom: 1rem;
}

.solution-body ul {
  padding-left: 1.1rem;
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
}

.solution-card.open .solution-body {
  max-height: 300px; /* big enough for content */
}

.solution-card.open .caret {
  transform: rotate(180deg);
}

/* About page */
.lead-heading {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.highlight-box {
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 1rem;
}

.highlight-box h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.highlight-box p {
  margin: 0.25rem 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.tag {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Solutions deep dive */
.solution-section {
  margin-top: 2rem;
}

.solution-section h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.solution-category {
  margin-top: 1rem;
}

.solution-category h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.solution-category ul {
  margin: 0.25rem 0 0.75rem;
  padding-left: 1.1rem;
  font-size: 0.92rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: flex-start;
  margin-top: 1.5rem;
}

.contact-card {
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.contact-item {
  margin-bottom: 0.5rem;
}

.contact-item span {
  display: inline-block;
  min-width: 80px;
  font-weight: 500;
}

.contact-note {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 1rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.5rem 0 1.25rem;
  font-size: 0.85rem;
  background-color: #0B2A3B;
}

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

.footer-brand {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-contact p {
  margin: 0.15rem 0;
}

/* Utilities */
.muted {
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 900px) {
  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-title {
    font-size: 2.1rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0.6rem 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background-color: rgba(11, 42, 59, 0.98);
    flex-direction: column;
    padding: 0.75rem 1rem 1rem;
    gap: 0.75rem;
    display: none;
  }

  .site-header.nav-open .nav-links {
    display: flex;
  }

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

  .hero {
    text-align: left;
  }

  .hero-content {
    padding: 3rem 0;
  }

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

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

  /* Google Form embed */
.form-wrapper {
  margin-top: 1rem;
}

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

.form-embed-container {
  position: relative;
  width: 100%;
  padding-bottom: 1600px; /* adjust after you see actual height */
  height: 0;
  overflow: hidden;
}

.form-embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
}