:root {
  --surface: #ffffff;
  --bg: #f6f7fb;
  --text: #26292c;
  --muted: #87939d;
  --shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  --radius: 16px;
}


/*This gives you that modern feel: soft background, nice cards, better typography, buttons, form polish.*/
body {
  background-color: bisque;
  color: var(--text);
}

.site-header-fixed {
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%;
}

.top-brand-bar {
    position: relative;
    background-color: aqua;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
}

.brand-left {
    position: absolute;
    left: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.tagline {
    margin: 0;
    font: 1em sans-serif;
    
}
.company-name {
    margin: 0;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.2;
}

.company-text {
    position: absolute;
    right: 1.25rem;
    max-width: 420px;
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.3;
    text-align: right;
    color: #1f2937;
}


@media (max-width: 768px) {
    .top-brand-bar {
        position: static;
        min-height: auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
        text-align: center;
        padding: 1rem;
    }

    .brand-left {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .brand-text {
        align-items: center;
    }

    .company-name {
        font-size: 1.2rem;
    }

    .company-text {
        position: static;
        max-width: 100%;
        font-size: 0.85rem;
        line-height: 1.35;
        text-align: center;
        padding: 0 0.5rem;
    }

    .brand-logo {
        width: 42px;
        height: 42px;
    }

}

.main-nav-bar {
    min-height: 80px;
    display: flex;
    align-items: center;
}

/* Give content a clean "app" feel */
.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Modern cards */
.card {
  border: 1px solid #3f7f7f;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-header {
  background: transparent;
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
  padding: 1rem 1.25rem;
}

.card-body {
  padding: 1.25rem;
}

/* Headings */
h1,
h2,
h3 {
  letter-spacing: -0.02em;
}

.page-title {
  font-weight: 750;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.6rem 0.95rem;
  border-radius: 12px;
  text-decoration: none;
  border-radius: 12px;
  
}

.btn-primary {
  background: #fff;
  color: #111;
  box-shadow: 0 10px 18px rgba(13, 110, 253, 0.18);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, .7);
  color: #fff;
}

/* Forms */
.form-control,
.form-select {
  background-color: #fff;
  color: #212529;
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  border: 1px solid #ced4da;
}

.form-control:focus,
.form-select:focus {
  background-color: #fff;
  color: #212529;
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}


/* Post list styling helpers */
.post-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.post-title {
  font-weight: 750;
  margin-bottom: 0.25rem;
}

.post-excerpt {
  color: #374151;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 40vh;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  padding: 3rem 1.5rem;
}

@media (min-width: 768px) {
  .hero-content {
    padding: 4.5rem 3rem;
  }
}

.hero p {
  font-weight: 500;
}

.hero-content h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.1;
  font-weight: 700;
}

.hero-content p {
  margin: 0 0 1.25rem;
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
}

.hero-overlay {
  min-height: 42vh;
  display: flex;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(2px);

}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* About Hero */
.hero-about {
  position: relative;
    min-height: 380px;
    border-radius: 1rem;
    overflow: hidden;
    isolation: isolate;
    background-image: url("/assets/img/under-the-hood-php-framework.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
  to top,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.08),
    rgba(0, 0, 0, 0));
}

.hero-about-content {
  position: relative;
  z-index: 1;
}


.hero-about h1,
.hero-about p {
  text-shadow: 0 2px 18px rgba(0, 0, 0, .75);
}

.hero-about p {
  font-weight: 500;
}

/* Author Hero */
.hero-author {
  position: relative;
  min-height: 520px;
  background-image: url("/assets/img/hero-office-space.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-author::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(255, 210, 120, 0.42) 0%,
      rgba(255, 228, 170, 0.24) 40%,
      rgba(255, 245, 210, 0.08) 100%);
      
        pointer-events: none;
        z-index: 0;
}

.hero-author-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 700px;
  padding: 4rem 3rem 2rem 3rem;
}

.hero-author-content h1,
.hero-author-content p {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

/* Under the Hood Hero */
.hero-engine {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    background: linear-gradient(rgba(0, 0, 0, 0.50), rgba(0, 0, 0, 0.35)),
                url('/assets/img/hero-under-the-hood.png') center center / cover no-repeat;
    min-height: 420px;
    display: flex;
    align-items: center;
}

.hero-engine-overlay {
    width: 100%;
    padding: 4rem 2rem;
}

.hero-engine-content {
    max-width: 720px;
    color: #fff;
}

.hero-engine-kicker {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    opacity: 0.9;
    color: #fff;
}

/* Horse Hero */
.horse-hero {
  position: relative;
  min-height: 380px;
  border-radius: 1rem;
  overflow: hidden;
  isolation: isolate;
  background-image: url("/assets/img/the-finish.png");
    background-size: cover;
    background-position: 70% center;
    background-repeat: no-repeat;
}

.horse-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to top,
        rgba(0, 0, 0, 0.25),
        rgba(0, 0, 0, 0.08),
        rgba(0, 0, 0, 0));
}

.horse-hero-content {
  position: relative;
  z-index: 1;
}

.horse-hero h1,
.horse-hero p {
  text-shadow: 0 2px 18px rgba(0, 0, 0, .75);
}

.horse-hero p {
  font-weight: 500;
}

.hero-card:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 .75rem 1.5rem rgba(0, 0, 0, .25);
}

.hero-card:active {
  transform: translateY(0);
  filter: brightness(1.0);
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .22);
}

/* Optional: keep your underline nice */
.hero-card .stretched-link {
  text-underline-offset: .2em;
}


.hero-about-card:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 .75rem 1.5rem rgba(0, 0, 0, .25);
}

.hero-about-card:active {
  transform: translateY(0);
  filter: brightness(1.0);
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .22);
}

/* Optional: keep your underline nice */
.hero-about-card .stretched-link {
  text-underline-offset: .2em;
}


.horse-hero-card:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 .75rem 1.5rem rgba(0, 0, 0, .25);
}

.horse-hero-card:active {
  transform: translateY(0);
  filter: brightness(1.0);
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .22);
}

/* Optional: keep your underline nice */
.horse-hero-card .stretched-link {
  text-underline-offset: .2em;
}


.py-lg-6 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.rounded-4 {
  border-radius: 1rem;
}

.home-hero {
  background-image: url("/assets/img/hero-mvc-workspace.png");
  background:
    linear-gradient(135deg,
      rgba(245, 247, 250, 0.96) 0%,
      rgba(236, 241, 245, 0.92) 45%,
      rgba(227, 235, 240, 0.88) 100%);
}

.hero-copy-panel {
  background:
    linear-gradient(135deg,
      rgba(20, 35, 48, 0.96) 0%,
      rgba(33, 58, 74, 0.92) 55%,
      rgba(63, 127, 127, 0.88) 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-copy-panel .lead,
.hero-copy-panel p {
  color: rgba(255, 255, 255, 0.88) !important;
}

.hero-copy-panel .btn-outline-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
}

.hero-copy-panel .btn-outline-secondary:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.8);
}

.hero-image-wrap {
  background: #ffffff;
}

.hero-image-wrap img {
  object-fit: cover;
}

@media (min-width: 992px) {
  .hero-image-wrap img {
    min-height: 420px;
  }
}

.form-control,
.form-select {
  background-color: #fff;
  color: #212529;
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  border: 1px solid #ced4da;
}

.form-control:focus,
.form-select:focus {
  background-color: #fff;
  color: #212529;
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}


.mt-4 {
  margin-top: 24px;
}

.account-requests-page {
    width: 80vw;
    max-width: 1400px;
    margin: 0 auto;
}

/* Public Trust Pages: Security / Privacy Policy */
.trust-page {
    width: min(1100px, 92%);
    margin: 2rem auto;
    padding: 1.5rem 0 3rem;
}

.trust-page-header {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #f8fafc;
    border-radius: 18px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

.trust-page-header h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.trust-page-header p {
    margin: 0;
    max-width: 820px;
    line-height: 1.6;
    color: #dbeafe;
}

.trust-kicker {
    display: inline-block;
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #93c5fd;
    font-weight: 700;
}

.trust-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 5px solid #0f766e;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.trust-card h2 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    color: #0f172a;
}

.trust-card p {
    margin: 0;
    line-height: 1.65;
    color: #334155;
}

.trust-updated {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #64748b;
    text-align: right;
}

@media (max-width: 768px) {
    .trust-page {
        width: min(94%, 100%);
        margin-top: 1rem;
    }

    .trust-page-header {
        padding: 1.5rem;
        border-radius: 14px;
    }

    .trust-card {
        padding: 1rem;
    }

    .trust-updated {
        text-align: left;
    }
}

/* Footer Section */
.footer {
  width: 100%;
  background-color: #333;
  color: #fff;
  padding: 0px;
}

.footer ul {
  list-style-type: none;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin: 0 15px;
}

.footer ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

.footer ul li a:hover {
  text-decoration: underline;
}

.footer p {
  margin: 10px 0 0 0;
  font-size: 14px;
}