: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 {
    background-color: aqua;
    min-height: 80px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    gap: 1rem;
    padding: 0.75rem 1.25rem;
}

.brand-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-self: start;
}


.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 {
  justify-self: end;

  max-width: 520px;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.3;

  text-align: right;
  color: #1f2937;
 
}

@media (max-width: 768px) {
    .top-brand-bar {
      min-height: auto;

      display: flex;
      flex-direction: column;

      justify-content: center;
      align-items: center;

      gap: 0.75rem;
      text-align: center;
      padding: 1rem;

    }

    .brand-left{
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;

    }

    .brand-text {
      align-items: center;
    }

    .company-name {
      font-size: 1.2rem;
      white-space: normal;
    }

  .company-text {

    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: calc(100vh - 140px);

    margin: 1.25rem;

    background-image: url("/assets/img/hero-framework.png");
    background-size: cover;
    background-position: 55% center;
    background-repeat: no-repeat;

    border-radius: 36px;

    overflow: hidden;
}


.hero-about::before {
  content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.10) 55%,
            rgba(0, 0, 0, 0.05) 100%
        );

    z-index: 0;
}

.hero-about-content {
  position: relative;
    z-index: 1;

    min-height: calc(100vh - 140px);

    display: flex;
    align-items: flex-end;

    padding: 4rem;
}


.hero-about-label {
    max-width: 650px;
    color: #fff;
}

.hero-about-label h1 {
    font-size: clamp(2.5rem, 5vw, 4.75rem);
    font-weight: 700;
}

.hero-about-label p {
    max-width: 580px;
    font-size: 1.2rem;
}

.about-story {
    margin-top: 2rem;
}

.about-story h2 {
    font-weight: 700;
}

.about-cta {
    margin-top: 5rem;
    margin-bottom: 3rem;
    background-color: #f8f9fa;
}


/* Author Hero */
.hero-author {
  position: relative;
  min-height: 520px;
  background-image: url("/assets/img/hero-mountain-trail.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;
}

/* Framework Hero */
.hero-framework {
  background-image:
    linear-gradient(135deg,
      rgba(10, 20, 35, 0.32) 0%,
      rgba(18, 38, 68, 0.20) 45%,
      rgba(32, 72, 110, 0.12) 100%
      ),
        url("/assets/img/hero-framework.png");
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
}

/* 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;
}

.site-diagram-section {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 1rem;
}

.folder-diagram {
    background: #1f2933;
    color: #f8f9fa;
    padding: 1.25rem;
    border-radius: 10px;
    overflow-x: auto;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.95rem;
    line-height: 1.5;
    white-space: pre;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.folder-diagram code {
    font-family: inherit;
}
/*Agency Framework Hero*/
.agency-framework-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.agency-framework-hero {
    background: linear-gradient(135deg, #0869ca, #3f5870);
    color: white;
    padding: 2.5rem 1.5rem;
    border-radius: 14px;
    text-align: center;
    margin-bottom: 2rem;
}

.agency-framework-hero h1 {
    margin-bottom: 1rem;
}

.agency-framework-hero p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

.framework-section {
    margin-bottom: 2.5rem;
}

.framework-section h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

.framework-section p {
    font-size: 1.05rem;
    line-height: 1.7;
}

.framework-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.framework-card {
    background: #f8f9fa;
    border-left: 5px solid aqua;
    padding: 1.25rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

.framework-card h3 {
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.code-diagram,
.folder-diagram {
    background: #1f2933;
    color: #f8f9fa;
    padding: 1.25rem;
    border-radius: 10px;
    overflow-x: auto;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.95rem;
    line-height: 1.5;
    white-space: pre;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.code-diagram code,
.folder-diagram code {
    font-family: inherit;
}

@media (max-width: 768px) {
    .framework-card-grid {
        grid-template-columns: 1fr;
    }

    .agency-framework-hero {
        padding: 2rem 1rem;
    }

    .code-diagram,
    .folder-diagram {
        font-size: 0.85rem;
    }
}

.framework-contact-cta {
    background: linear-gradient(135deg, #2c3e50, #3f5870);
    color: #ffffff;
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 14px;
    margin-top: 3rem;
}

.framework-contact-cta h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.framework-contact-cta p {
    max-width: 800px;
    margin: 0 auto 1rem auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

.framework-contact-button {
    display: inline-block;
    margin-top: 1rem;
    background: aqua;
    color: #1f2933;
    padding: 0.85rem 1.35rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.framework-contact-button:hover {
    background: #ffffff;
    color: #2c3e50;
    text-decoration: none;
}

.services-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.services-hero {
    background: linear-gradient(135deg, #2c3e50, #3f5870);
    color: #ffffff;
    padding: 2.5rem 1.5rem;
    border-radius: 14px;
    text-align: center;
    margin-bottom: 2.5rem;
}

.services-hero h1 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.services-hero p {
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

.services-section {
    margin-bottom: 2.5rem;
}

.services-section h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 1rem;
}

.services-section p {
    font-size: 1.05rem;
    line-height: 1.7;
}

.services-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.services-card {
    background: #f8f9fa;
    border-left: 5px solid aqua;
    padding: 1.25rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

.services-card h3 {
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.services-list {
    max-width: 700px;
    margin: 1rem auto;
    padding-left: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.services-cta {
    background: linear-gradient(135deg, #2c3e50, #3f5870);
    color: #ffffff;
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 14px;
    margin-top: 3rem;
}

.services-cta h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.services-cta p {
    max-width: 800px;
    margin: 0 auto 1rem auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

.services-button {
    display: inline-block;
    margin-top: 1rem;
    background: aqua;
    color: #1f2933;
    padding: 0.85rem 1.35rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.services-button:hover {
    background: #ffffff;
    color: #2c3e50;
    text-decoration: none;
}

@media (max-width: 768px) {
    .services-card-grid {
        grid-template-columns: 1fr;
    }

    .services-hero,
    .services-cta {
        padding: 2rem 1rem;
    }
}

/* Old Tech Spotlight Section */

.technology-spotlight {
    background: linear-gradient(135deg, #101d32, #233f62);
    color: #fff;
    padding: 48px 24px;
    text-align: center;
}

.spotlight-content {
    max-width: 850px;
    margin: 0 auto;
}

.spotlight-label {
    color: #93c5fd;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Tech Spotlight Section */

.technology-spotlight h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin: 16px 0;
    color: #fff;
}

.technology-spotlight p {
    line-height: 1.7;
    color: #e2e8f0;
}

.spotlight-button {
    display: inline-block;
    margin: 20px 0;
    padding: 13px 25px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
}

.spotlight-button:hover {
    background: #1d4ed8;
}

.spotlight-content small {
    display: block;
    color: #cbd5e1;
}


/* 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;
}

/* Global paragraph text */
p {
    font-weight: 500;
}

/* Navbar links and brand */
.navbar .nav-link,
.navbar .navbar-brand {
    color: #ffffff;
    font-weight: 600;
}

/* Navbar hover/focus */
.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #f8f9fa;
    text-decoration: underline;
}

.alert {
  padding: 20px;
  background-color: #e00303; /* Red */
  color: white;
  margin-bottom: 15px;
}