/* Form section */
.home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 40px;
}

/* smaller, tighter cards */
.home-card {
    border: 2px solid #333;
    padding: 15px;              /* reduced from 20px */
    border-radius: 8px;
    background-color: #f9f9f9;

    max-width: 280px;           /* controls card size */
    margin: 0 auto;             /* centers each card */
}

/* compact header row */
.card-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

/* smaller title */
.card-header h1 {
    margin: 0;
    font-size: 18px;
}

/* smaller button */
.card-header button {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;

    border: none;
    border-radius: 8px;

    background: #4F46E5;
    color: #ffffff;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.2s ease;

    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
}

.card-header button:hover {
    background: #4338CA;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.card-header button:active {
    transform: translateY(0);
}

.card-header button:focus-visible {
    outline: 3px solid rgba(79, 70, 229, 0.35);
    outline-offset: 2px;
}

/* optional spacing cleanup */
.home-card h5 {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
}

.button-link {
  display: inline-block;
  padding: 3px 3px;
  background-color: #2563eb; /* A nice modern blue */
  color: #ffffff !important; /* Ensures text stays white */
  text-decoration: none;     /* Removes the link underline */
  border-radius: 8px;        /* Rounded corners */
  font-weight: 600;
  font-family: system-ui, sans-serif;
  transition: transform 0.1s, background-color 0.2s;
  border: none;
  cursor: pointer;
}

/* Hover effect */
.button-link:hover {
  background-color: #1d4ed8;
  text-decoration: none;
}

/* Click effect */
.button-link:active {
  transform: scale(0.98);
}

.tagline{
    text-align: center;
}

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

.home {
  position: relative;
  background-image: url("../img/business2.062066a42dc5.jpg");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* service section */

/* Container for the items */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.service-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: all 0.25s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.service-card .icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.service-card h5 {
  font-weight: 700;
  margin-bottom: 8px;
  color: #1e3a5f;
}

.service-card p {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

/* Public role selector and the signed-in path; details stay collapsed at first. */
.role-journey-surface { max-width: 960px; margin: auto; padding: 28px; border: 1px solid #dce6e2; border-radius: 20px; background: #f8faf9; color: #152e2e; }
.role-journey-eyebrow { color: #176c58; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.role-journey-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 30px; }
.role-journey-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px; border: 1px solid #dce6e2; border-radius: 12px; background: #fff; color: #152e2e; text-align: left; cursor: pointer; }
.role-journey-card[aria-pressed="true"] { border-color: #176c58; }
.role-journey-card:focus-visible, .role-journey-details > summary:focus-visible, .role-funding-info > summary:focus-visible { outline: 3px solid #176c58; outline-offset: 3px; }
.role-journey-name, .role-journey-link { color: #176c58; font-size: .8rem; }
.role-journey-card-goal { font-size: 1.2rem; font-weight: 600; }
.role-journey-description { color: #526764; font-size: .875rem; }
.role-journey-link { margin-top: 6px; }
.role-journey-panel[hidden] { display: none; }
.role-journey-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.role-journey-goal { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: #176c58; font-size: .8rem; }
.role-funding-info { max-width: 100%; }
.role-funding-info > summary { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; list-style: none; cursor: pointer; }
.role-funding-info > summary::-webkit-details-marker { display: none; }
.role-funding-info p { max-width: 560px; padding: 14px 16px; margin: 8px 0 0; background: #fff; border: 1px solid #dce6e2; border-radius: 10px; color: #152e2e; font-size: .875rem; line-height: 1.65; }
.role-journey-details > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 14px 16px; min-height: 48px; border: 1px solid #dce6e2; border-radius: 10px; background: #fff; list-style: none; cursor: pointer; font-weight: 600; }
.role-journey-details > summary::-webkit-details-marker { display: none; }
.role-journey-details > summary::after { content: '+'; margin-left: auto; }
.role-journey-details[open] > summary::after { content: '−'; }
.role-journey-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; gap: 18px; padding: 24px 0 0; margin: 0; }
.role-journey-steps-six { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; }
.role-journey-number { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 14px; border: 1px solid #dce6e2; border-radius: 50%; background: #fff; color: #176c58; font-size: .8rem; }
.role-journey-steps h4 { font-size: .9rem; font-weight: 600; margin: 0 0 8px; }
.role-journey-steps p { color: #526764; font-size: .8rem; line-height: 1.65; margin: 0; }
.role-journey-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 22px; margin-top: 28px; border-top: 1px solid #dce6e2; }
@media (max-width: 767px) {
    .role-journey-surface { padding: 22px 18px; }
    .role-journey-steps, .role-journey-steps-six { grid-template-columns: 1fr; gap: 20px; }
    .role-journey-steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; }
    .role-journey-number { margin-bottom: 0; }
    .role-journey-footer { align-items: stretch; flex-direction: column; }
    .role-journey-card { padding: 14px; }
}
@media (max-width: 390px) { .role-journey-cards { grid-template-columns: 1fr; } }

.services-section {
  background: #f8f9fb;
}

/* Native disclosures work with touch, keyboard, and without JavaScript. */
.home-supporting-tools > summary { cursor: pointer; padding: 16px; border: 1px solid #dce6e2; border-radius: 12px; background: #fff; }
.home-valuation-info > summary { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; cursor: pointer; list-style: none; color: #176c58; }
.home-valuation-info > summary::-webkit-details-marker { display: none; }
.home-valuation-info p { max-width: 360px; padding: 14px; border: 1px solid #dce6e2; border-radius: 10px; background: #fff; color: #152e2e; font-size: .875rem; line-height: 1.6; margin: 0 0 12px; }
.home-valuation-info > summary:focus-visible, .home-supporting-tools > summary:focus-visible { outline: 3px solid #176c58; outline-offset: 3px; }
#zelda-example { scroll-margin-top: 6rem; }
