* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #fafafa;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #0a0a23;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .logo {
  font-weight: bold;
  font-size: 1.3rem;
}

.navbar nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 0.8rem;
  font-weight: 500;
}

.navbar nav a:hover {
  color: #FF7F50;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 70px;          /* increased from 40px → 90px */
  width: auto;
}

.logo-text {
  font-weight: 700;
  font-size: 1.5rem;      /* slightly larger text */
  color: #fff;
  letter-spacing: 0.5px;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #00B5AD, #00315D);
  color: white;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.hero button {
  background-color: #FF7F50;
  color: #FFFFFF;
  border: 2px solid white; 
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
}

.hero button:hover {
  background-color: #FFA380;
}

/* Sections */
.content {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: auto;
}

.content.light {
  background: #f5f7fa;
}

.content h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.content h3 {
  color: #00315D;
}

.content p, ol, table {
  margin-bottom: 1rem;
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 6px;
  overflow: hidden;
}

th, td {
  padding: 1rem;
  border-bottom: 1px solid #ddd;
}

th {
  background: #7E7E7E;
  color: white;
}

/* Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 1.5rem;
  max-width: 300px;
  text-align: center;
}

/* CTA */
.cta {
  display: inline-block;
  /* background: #00315D; */
  background: #FF7F50;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
}

.cta:hover {
  /* background: #008ABC; */
  background: #FFA380;
}

.email{
  display: inline-block;
  background: #00315D;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
}

.email:hover {
  background: #008ABC;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  background: #0a0a23;
  color: #ccc;
  font-size: 0.9rem;
}

/* Contact Form */
form {
  max-width: 500px;
  margin: 2rem auto;
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 1rem;
  text-align: left;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

input, textarea {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}

button.cta {
  width: 100%;
  text-align: center;
}

#form-status {
  text-align: center;
  margin-top: 1rem;
  font-weight: 500;
}

/* A11y: screen-reader-only */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Base navbar tweaks */
.navbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.75rem 1rem;  /* a bit tighter to fit bigger logo */
}

/* Desktop nav layout */
.nav-menu {
  display: flex; gap: 1rem;
}

.nav-menu a {
  color: #fff; text-decoration: none; font-weight: 500;
}
 .nav-menu a:hover {color:#FF7F50; } 

/* Hamburger button (hidden on desktop) */
.nav-toggle {
  display: none;
  background: transparent; border: 0; cursor: pointer;
  padding: 0.25rem; margin-left: 0.5rem;
}
.nav-toggle .bar {
  display: block; width: 26px; height: 2px; background: #fff; margin: 5px 0;
  transition: transform 200ms ease, opacity 200ms ease;
}

/* Overlay for mobile drawer */
.nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  z-index: 90;
}

/* Mobile styles */
@media (max-width: 900px) {
  .nav-toggle { display: block; }

  /* turn desktop links offscreen and convert to drawer */
  .nav-menu {
    position: fixed;
    top: 0; right: 0; height: 100dvh;
    width: min(78vw, 360px);
    background: #0a0a23;
    box-shadow: -8px 0 24px rgba(0,0,0,0.25);
    display: flex; flex-direction: column;
    padding: 5rem 1.25rem 1.25rem;
    gap: 0.75rem;
    transform: translateX(100%);
    transition: transform 240ms ease;
    z-index: 100;
  }

  .nav-menu a {
    display: block; padding: 0.75rem 0.5rem; border-radius: 6px;
  }
 .nav-menu a:hover { background: rgba(255,255,255,0.06); }
  

  /* when open */
  .nav-open .nav-menu { transform: translateX(0%); }
  .nav-open .nav-overlay { display: block; }
  .nav-open body { overflow: hidden; } /* just in case */

  /* Animate hamburger to "X" */
  .nav-open .nav-toggle .bar:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Bigger logo from earlier step (keep or adjust) */
.logo-img { height: 60px; width: auto; }
.logo-text { font-weight: 700; font-size: 1.5rem; color: #fff; letter-spacing: 0.5px; }

/* Optional: body lock class when menu open */
.body-lock { overflow: hidden; }

/* Active link style (desktop & mobile) */
.nav-menu a.active {
  color: #00B5AD;
  position: relative;
}

/* Sticky shadow on scroll */
.navbar {
  transition: box-shadow 200ms ease, background-color 200ms ease;
}
.navbar.scrolled {
   box-shadow: 0 8px 24px rgba(0,0,0,0.18); 
  background-color: #0a0a23; /* ensure solid bg over content */
}


/* -------- Process Section Flair -------- */
:root {
  --rs-blue: #005FCC;
  --rs-cyan: #00B5AD;
  --rs-ink: #0a0a23;
  --rs-card: #ffffff;

}

.process {
  position: relative;
  overflow: hidden;
}

.process-subtitle {
  text-align: center;
  margin: 0 auto 1.5rem;
  max-width: 760px;
  color: #445;
}

/* Steps grid */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
}

/* Step card */
.step {
  position: relative;
  background: var(--rs-card);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
  transform: translateY(12px);
  opacity: 0;
  transition: transform 420ms ease, opacity 420ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.step:hover {
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  border-color: rgba(0,114,255,0.25);
}

.step .badge {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  color: #fff;
  /* gradient ring effect */
  background: linear-gradient(135deg, var(--rs-cyan), var(--rs-blue));
  box-shadow: 0 0 0 4px rgba(0,114,255,0.15);
}

.step .icon {
  margin-top: 0.6rem;
  color: var(--rs-ink);
  opacity: 0.9;
}

.step h3 {
  margin-top: 0.6rem;
  font-size: 1.05rem;
}

.step p {
  margin-top: 0.25rem;
  color: #555;
}

/* Mobile connectors: vertical line */
@media (max-width: 720px) {
  .step { padding-left: 1.1rem; }
  .step::before {
    content: "";
    position: absolute;
    left: 18px; top: -10px; bottom: -10px; width: 2px;
    background: linear-gradient(180deg, rgba(0,198,255,0.35), rgba(0,114,255,0.35));
  }
  .steps .step:first-child::before { top: 24px; }
  .steps .step:last-child::before { bottom: 24px; }
}

/* Reveal animation (added by JS) */
.step.reveal {
  transform: translateY(0);
  opacity: 1;
}

/* Decorative animated gradient stroke under the grid */
.process-accent {
  width: 120%;
  margin-left: -10%;
  height: 90px;
  margin-top: 1.25rem;
}
.accent-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw 2.8s ease forwards 0.2s;
  opacity: 0.7;
}
@keyframes draw {
  to { stroke-dashoffset: 0; }
}


/* --- Inline validation --- */
.field-error {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: #c02626; /* red-ish */
  min-height: 1em; /* reserve space to prevent layout shift */
}

input.invalid, textarea.invalid {
  border-color: #c02626;
  background: #fff5f5;
  outline: none;
}

input.valid, textarea.valid {
  border-color: #2e7d32; /* green-ish */
  background: #f5fff7;
}

.form-group label.required::after {
  content: " *";
  color: #c02626;
}