/* Base Reset */
body {
  margin: 0;
  font-family: Roboto, sans-serif;
  color: #333;
  background-color: #f7f7f7;
}

/* Header */
.site-header {
  background-color: #333;
  padding: 10px 0;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin: 0 20px;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* Company Intro Section */
.company-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.company-intro {
  padding: 40px 20px;
  background-color: white;
}

.company-logo img {
  max-width: auto;
  height: 140px;
  margin: 0 0;
  padding: 0 auto;
}

.company-description {
  margin-left: 30px;
  flex: 1;
  min-width: 200px;
}

/* Swiper Styles */
.carousel-wrapper {
/*  max-width: 1200px;*/
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 0 15px;
}

.carousel-section {
  padding: 10px 0;
  background-color: #FFFFFF;
}
.swiper-wrapper {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 0 15px;
}

.swiper {
  width: 100%;
/*  height: 50vh;*/
  height: auto;
  max-height: 600px;
}

.swiper-slide {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: sepia(0.3);
}

.slide-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 6px 12px;
  font-size: 1.2rem;
  border-radius: 4px;
}

/* Contact Form */
.contact-form-section {
  padding: 5px 5px;
  background-color: #ffffff;
}

/* Footer */
/* Old footer before logo
.site-footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 10px 10px;
}
*/
/*New Footer with logo*/
.site-footer {
  background-color: #333;
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
}

.site-footer img {
  display: block;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
  .company-intro {
    flex-direction: column;
    text-align: center;
  }

  .company-description {
    margin-left: 0;
    margin-top: 20px;
  }

  .swiper {
    height: 300px;
  }

  .slide-label {
    font-size: 1rem;
  }
}

/* Projects page layout */

.projects-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
  font-family: "Roboto", "Lato", sans-serif;
}

.projects-page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.projects-page-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.projects-page-header p {
  color: #555;
  font-size: 0.95rem;
}

.projects-group {
  margin-bottom: 3rem;
}

.projects-group-title {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* Carousel sizing and spacing */

.carousel-section {
  margin-top: 0.5rem;
}

.carousel-wrapper {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 15px;
}

.carousel-wrapper .swiper {
  position: absolute;
  inset: 0;
}

/* Slide and image styles */

.swiper-slide {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Label overlay */

.slide-label {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.7rem;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.8rem;
  border-radius: 999px;
}

/* Swiper controls tweak so they sit inside the image nicely */

.swiper-button-next,
.swiper-button-prev {
  color: #fff;
  width: 32px;
  height: 32px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.6);
}

.swiper-pagination-bullet-active {
  background: #ffb300; /* matches your brand accent */
}


/* About Page CSS */
.flex-container {
  display: flex;
  justify-content: center;
  background-color: white;
  width: auto;
}

.flex-container > div {
  background-color: #f7f7f7;
  margin: 10px;
  width: auto;
}

.flex-container img {
  max-width: 100%;
  max-height: 200px;
  width: auto;
  height: auto;
}

/*  Dev Project Page with Image Grid */

.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create two equal columns that sits next to each other */
.column {
  flex: 50%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
}

/* 14 Dec 25 Refactor */

/* ===================================================
   Home Page Styles
   Refactored from index.html
   =================================================== */
.home-page {
      max-width: 1120px;
      margin: 0 auto;
      padding: 2.5rem 1.5rem 4rem;
      font-family: "Roboto", "Lato", sans-serif;
      color: #202124;
    }

    /* Hero */

    .home-hero {
      margin-bottom: 3rem;
    }

    .home-hero-inner {
      display: flex;
      flex-direction: column;
      gap: 1.75rem;
      align-items: flex-start;
    }

    @media (min-width: 768px) {
      .home-hero-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
      }
    }

    .home-hero-brand {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      align-items: flex-start;
    }

    .home-hero-logo {
      max-height: 140px;
      height: auto;
      width: 100%;
      width: auto;
    }

    .home-stripes {
      display: flex;
      gap: 0.35rem;
    }

    .home-stripes span {
      height: 4px;
      width: 56px;
      border-radius: 999px;
    }

    .home-stripes .stripe-1 {
      background: #8b311f;
    }

    .home-stripes .stripe-2 {
      background: #c45a28;
    }

    .home-stripes .stripe-3 {
      background: #f0b323;
    }

    .home-hero-copy h1 {
      margin: 0 0 0.5rem;
      font-size: 2rem;
      font-weight: 600;
    }

    .home-hero-copy p {
      margin: 0;
      color: #5f6368;
      font-size: 0.98rem;
      max-width: 560px;
      line-height: 1.6;
    }

    .home-hero-copy blockquote {
      margin: 0.9rem 0 0.6rem;
      padding-left: 0.75rem;
      border-left: 3px solid #8b311f;
      color: #3c4043;
      font-size: 0.95rem;
    }

    .home-cta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      margin-top: 1rem;
    }

    .home-cta,
    .home-cta-secondary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.45rem 1.1rem;
      border-radius: 999px;
      font-size: 0.9rem;
      text-decoration: none;
      font-weight: 500;
    }

    .home-cta {
      background: #8b311f;
      color: #ffffff;
      border: 1px solid #8b311f;
    }

    .home-cta:hover {
      background: #702718;
      border-color: #702718;
    }

    .home-cta-secondary {
      background: #ffffff;
      color: #3c4043;
      border: 1px solid #dadce0;
    }

    .home-cta-secondary:hover {
      background: #f1f3f4;
    }

    /* Services section */

    .home-services {
      margin-bottom: 3rem;
    }

    .services-header {
      text-align: center;
      margin-bottom: 1.75rem;
    }

    .services-header h2 {
      margin: 0 0 0.4rem;
      font-size: 1.6rem;
      font-weight: 600;
    }

    .services-header p {
      margin: 0;
      color: #5f6368;
      font-size: 0.95rem;
    }

    .services-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 1.5rem;
    }

    @media (min-width: 768px) {
      .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

    .service-card {
      background: #ffffff;
      border-radius: 14px;
      border: 1px solid #dadce0;
      padding: 1.1rem 1rem 1rem;
      box-shadow: 0 1px 3px rgba(60, 64, 67, 0.12);
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
    }

    .service-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      border-radius: 999px;
      background: #fce7d8;
      color: #8b311f;
      font-size: 1.1rem;
      margin-bottom: 0.25rem;
    }

    .service-card h3 {
      margin: 0;
      font-size: 1rem;
      font-weight: 600;
    }

    .service-card p {
      margin: 0;
      font-size: 0.88rem;
      line-height: 1.5;
      color: #3c4043;
    }

    .service-note {
      margin-top: 0.2rem;
      font-size: 0.8rem;
      color: #5f6368;
    }

    /* Carousel spacing reused from your other pages */

    .home-carousel-wrapper {
      margin-bottom: 3rem;
    }

    .home-carousel-heading {
      text-align: center;
      margin-bottom: 1rem;
    }

    .home-carousel-heading h2 {
      margin: 0;
      font-size: 1.4rem;
      font-weight: 600;
    }

    .home-carousel-heading p {
      margin: 0.25rem 0 0;
      font-size: 0.88rem;
      color: #5f6368;
    }

    /* Contact section */

    .contact-form-section {
      margin-top: 1rem;
    }

    .contact-form-heading {
      text-align: center;
      margin-bottom: 0.75rem;
    }

    .contact-form-heading h2 {
      margin: 0;
      font-size: 1.4rem;
      font-weight: 600;
    }

    .contact-form-heading p {
      margin: 0.25rem 0 0;
      font-size: 0.9rem;
      color: #5f6368;
    }
/* End Home Page CSS Styles */

/* ===========================================
   About Page Styles
   Refactored from about.html.
   =========================================== */

.about-page {
      max-width: 1120px;
      margin: 0 auto;
      padding: 2.5rem 1.5rem 4rem;
      font-family: "Roboto", "Lato", sans-serif;
      color: #202124;
    }

    /* Company intro */

    .company-intro {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      align-items: flex-start;
      margin-bottom: 3rem;
    }

    @media (min-width: 768px) {
      .company-intro {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
      }
    }

    .company-logo-block {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      align-items: flex-start;
    }

    .company-logo-block img {
      max-height: 120px;
      width: auto;
    }

    .company-stripes {
      display: flex;
      gap: 0.35rem;
    }

    .company-stripes span {
      height: 4px;
      width: 56px;
      border-radius: 999px;
    }

    .company-stripes .stripe-1 {
      background: #8b311f; /* deep brown red */
    }

    .company-stripes .stripe-2 {
      background: #c45a28; /* orange red */
    }

    .company-stripes .stripe-3 {
      background: #f0b323; /* warm yellow */
    }

    .company-copy h1 {
      margin: 0 0 0.5rem;
      font-size: 2rem;
      font-weight: 600;
    }

    .company-copy p {
      margin: 0;
      color: #5f6368;
      font-size: 0.98rem;
      max-width: 560px;
      line-height: 1.6;
    }

    /* Team section */

    .team-section {
      margin-top: 1rem;
    }

    .team-header {
      text-align: center;
      margin-bottom: 1.75rem;
    }

    .team-header h2 {
      margin: 0 0 0.4rem;
      font-size: 1.6rem;
      font-weight: 600;
    }

    .team-header p {
      margin: 0;
      color: #5f6368;
      font-size: 0.95rem;
    }

    .team-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 1.5rem;
    }

    @media (min-width: 768px) {
      .team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

    /* Baseball-card style */

    .team-card {
      background: #ffffff;
      border-radius: 14px;
      border: 1px solid #dadce0;
      overflow: hidden;
      box-shadow: 0 1px 3px rgba(60, 64, 67, 0.15);
      display: flex;
      flex-direction: column;
    }

    .team-card-top {
      position: relative;
      background: #e0e0e0;
      overflow: hidden;
    }

    .team-card-top::before {
      content: "";
      display: block;
      padding-top: 115%; /* tall baseball card look */
    }

    .team-photo {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .team-label {
      position: absolute;
      bottom: 8px;
      left: 10px;
      background: rgba(0,0,0,0.65);
      color: #fff;
      font-size: 0.75rem;
      padding: 0.15rem 0.6rem;
      border-radius: 999px;
    }

    .team-card-body {
      padding: 0.9rem 1rem 1rem;
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
    }

    .team-name-row {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      gap: 0.5rem;
    }

    .team-name {
      margin: 0;
      font-size: 1rem;
      font-weight: 600;
    }

    .team-role {
      margin: 0;
      font-size: 0.8rem;
      color: #8b311f;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      white-space: nowrap;
    }

    .team-bio {
      margin: 0;
      font-size: 0.88rem;
      line-height: 1.5;
      color: #3c4043;
    }

    .team-stats {
      margin-top: 0.3rem;
      font-size: 0.8rem;
      color: #5f6368;
      display: flex;
      flex-direction: column;
      gap: 0.15rem;
    }

    .team-stats span::before {
      content: "• ";
    }

/* End About Page Styles */

/* ====================================================
   Projects Page Styles
   Refactored from projects.html
   ==================================================== */

{
      box-sizing: border-box;
    }

    .project-title {
      text-align: center;
      padding: 32px;
    }

    .row {
      display: -ms-flexbox; /* IE10 */
      display: flex;
      -ms-flex-wrap: wrap; /* IE10 */
      flex-wrap: wrap;
      padding: 0 4px;
    }

    /* Create four equal columns that sit next to each other */
    .column {
      -ms-flex: 25%; /* IE10 */
      flex: 25%;
      max-width: 25%;
      padding: 0 4px;
    }

    .column img {
      margin-top: 8px;
      vertical-align: middle;
      width: 100%;
      cursor: pointer;
    }

    /* Responsive layout, two columns */
    @media screen and (max-width: 800px) {
      .column {
        -ms-flex: 50%;
        flex: 50%;
        max-width: 50%;
      }
    }

    /* Responsive layout, one column */
    @media screen and (max-width: 600px) {
      .column {
        -ms-flex: 100%;
        flex: 100%;
        max-width: 100%;
      }
    }

    /* Modal styles */

    .img-modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0,0,0,0.9);
    }

    .img-modal-content {
      margin: 5% auto;
      display: block;
      max-width: 90%;
      max-height: 80vh;
    }

    .img-modal-caption {
      margin: 0.5rem auto 0;
      text-align: center;
      color: #ccc;
      font-size: 0.9rem;
      max-width: 80%;
    }

    .img-modal-close {
      position: absolute;
      top: 15px;
      right: 25px;
      color: #f1f1f1;
      font-size: 32px;
      font-weight: bold;
      cursor: pointer;
    }

    .img-modal-close:hover,
    .img-modal-close:focus {
      color: #bbb;
    }

/* End of Project Page Styles */
