* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: #f7efe2;
  color: #10233d;
}

.section-button{
    display:inline-block;
    background:#9d2119;
    color:#fffaf0;
    text-decoration:none;
    padding:12px 22px;
    border-radius:10px;
    font-weight:700;
    margin-top:15px;
    transition:.2s;
}

.section-button:hover{
    background:#0b315c;
    transform:translateY(-2px);
}

/* Floating Back To Top Button */

.scroll-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #9d2119;
  color: #fffaf0;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 5px 15px rgba(0,0,0,.25);
  z-index: 9999;
  transition: all .2s ease;
}

.scroll-top:hover {
  background: #0b315c;
  transform: translateY(-3px);
}

.site-header {
  min-height: 76px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #fffaf0;
  border-top: 6px solid #0b315c;
  border-bottom: 1px solid #d7c3a3;
  box-shadow: 0 4px 20px rgba(16, 35, 61, .08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #0b315c;
  color: #fffaf0;
  font-weight: 900;
  letter-spacing: .05em;
}

.brand h1 {
  margin: 0;
  color: #0b315c;
  font-size: 30px;
  line-height: 1;
}

.brand p {
  margin: 4px 0 0;
  color: #9d2119;
  font-weight: 700;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 26px;
}

.nav-links a {
  color: #10233d;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
}

.nav-links a:hover {
  color: #9d2119;
}

.hero {
  padding: 90px 8%;
  background:
    linear-gradient(135deg, rgba(11,49,92,.96), rgba(16,35,61,.92)),
    radial-gradient(circle at 75% 20%, rgba(255,255,255,.16), transparent 22%);
  color: #fffaf0;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: #cfa866;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 900;
}

.hero h2 {
  margin: 0 0 20px;
  font-size: clamp(54px, 8vw, 96px);
  line-height: .92;
  font-style: italic;
}

.lead,
.hero p {
  font-size: 22px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.btn {
  display: inline-block;
  padding: 15px 24px;
  border-radius: 10px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
}

.btn.primary {
  background: #9d2119;
  color: white;
}

.btn.secondary {
  background: transparent;
  color: #fffaf0;
  border: 2px solid #cfa866;
}

.hero-panel {
  padding: 32px;
  border-radius: 24px;
  background: #fffaf0;
  color: #10233d;
  box-shadow: 0 20px 45px rgba(0,0,0,.25);
}

.hero-panel h3 {
  margin: 0 0 12px;
  color: #9d2119;
  text-transform: uppercase;
  font-size: 14px;
}

.project-name {
  margin: 0 0 14px;
  color: #0b315c;
  font-size: 32px !important;
  font-style: italic;
  font-weight: 900;
  line-height: 1.1 !important;
}

.hero-panel a {
  display: inline-block;
  margin-top: 12px;
  color: #9d2119;
  font-weight: 900;
  text-decoration: none;
}

.section {
  padding: 78px 8%;
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.about-card h2 {
  margin: 0 0 14px;
  color: #0b315c;
  font-size: clamp(38px, 5vw, 62px);
  font-style: italic;
}

.section-heading p,
.about-card p {
  color: #4d3a2a;
  font-size: 20px;
  line-height: 1.6;
}

.site-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.site-card {
  min-height: 260px;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid #d8bd8c;
  background: #fffaf0;
  color: #10233d;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(70,40,15,.12);
  transition: transform .18s ease, box-shadow .18s ease;
}

.site-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 42px rgba(70,40,15,.22);
}

.site-card.featured {
  border: 3px solid #9d2119;
}

.icon {
  font-size: 42px;
}

.site-card h3 {
  margin: 16px 0 10px;
  color: #9d2119;
  font-size: 27px;
  font-style: italic;
}

.site-card p {
  color: #4d3a2a;
  font-size: 17px;
  line-height: 1.55;
}

.site-card strong {
  color: #0b315c;
  text-transform: uppercase;
}

.categories-section,
.future-section {
  background: #fff4dc;
}

.category-grid,
.future-list {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.future-link{
    cursor:pointer;
}

.category-grid div,
.future-list div {
  padding: 22px;
  border-radius: 16px;
  background: #fffaf0;
  border: 1px solid #d8bd8c;
  color: #10233d;
  font-size: 19px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(70,40,15,.08);
}

.future-list a{
    display:block;
    color:#0b2341;
    text-decoration:none;
}

.future-list a:hover{
    color:#0b2341;
    text-decoration:none;
}

.about-section {
  background: #f7efe2;
}

.about-card {
  max-width: 930px;
  margin: 0 auto;
  padding: 42px;
  border-radius: 24px;
  background: #fffaf0;
  border: 1px solid #d8bd8c;
  box-shadow: 0 14px 30px rgba(70,40,15,.12);
  text-align: center;
}

.site-footer {
  padding: 34px 8%;
  background: #0b315c;
  color: #fffaf0;
  text-align: center;
}

.site-footer p {
  margin: 6px 0;
  font-weight: 800;
}

@media (max-width: 950px) {
  /* Floating Back To Top Button */

.scroll-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #9d2119;
  color: #fffaf0;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 5px 15px rgba(0,0,0,.25);
  z-index: 9999;
  transition: all .2s ease;
}

.scroll-top:hover {
  background: #0b315c;
  transform: translateY(-3px);
}

.site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 6%;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 16px;
  }

  .hero {
    padding: 62px 6%;
  }

  .hero-inner,
  .site-grid,
  .category-grid,
  .future-list {
    grid-template-columns: 1fr;
  }
}


/* AutoLocksmith patch: restore SouthernHub index cards to the original square-ish look. */
.site-card,
.category-grid div,
.future-list div,
.future-link {
  border-radius: 8px !important;
}

.hero-panel,
.about-card {
  border-radius: 10px !important;
}


/* CLEANUP PATCH: restore square-ish project boxes */
.site-card,.future-link,.hero-panel,.about-card,.future-card,.project-card,.content-card,.feature-card{border-radius:10px!important;}
.nav-links a,.btn{border-radius:10px!important;}
