@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700");

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  background: #444444;
  margin: 0;
  min-height: 100vh;
  min-width: 320px;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* Main content container */
.main-container, #main-container {
  width: 100vw;         /* Fill the entire viewport width */
  max-width: 1200px;
  min-width: 320px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 0;
}
.hero {
  width: 100%;
  max-width: 1200px;
  min-width: 320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}

.hero img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;          /* Show entire image, no cropping */
  display: block;
  background: #fff;
}
.hero.bordered, .image.bordered {
  border: 5px solid #000;
}

.hero.bordered, .image.bordered {
  border: 5px solid #000;
}

/* Breadcrumb Styles */
    .breadcrumb {
      font-size: 1rem;
      margin-bottom: 1.5rem;
      padding: 1.25rem;
      padding-bottom: 0;
    }

    .breadcrumb ol {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
    }

    .breadcrumb li {
      display: flex;
      align-items: center;
    }

    .breadcrumb a {
      text-decoration: none;
      color: #0048fe; /* Brand color */
      transition: color 0.2s ease;
    }

    .breadcrumb a:hover {
      color: #ff6600; /* Accent hover color */
    }

    .breadcrumb .separator {
      margin: 0 0.5rem;
      color: #888;
      font-size: 0.75rem;
    }

    /* Current page styling */
    .breadcrumb [aria-current="page"] {
      font-weight: 600;
      color: #555;
    }

#content-container, .content-container {
  flex: 1;
  padding: 1.25rem;
  padding-top:0;
}

/* Pin footer to bottom */
footer {
  margin-top: auto;
}
.footer-project-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 1rem;
  gap: 0.5rem;
}

/* Section containers */
header, .content, .cta, footer {
  width: 100%;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

/* Header styles */
header {
  max-width: 1200px;
  min-height: 90px;
  display: flex;
  align-items: center;
  width: 100%;
}

/* Responsive main container */
@media (max-width: 1200px) {
  .main-container, #main-container {
    max-width: 100vw;
  }
}
/* Example: Place this in your CSS file for a responsive row that wraps */
    .responsive-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;            /* Reduce gap between items */
      align-items: flex-start;
      margin-bottom: 0.5rem; /* Reduce bottom margin */
    }

    .responsive-row > * {
      flex: 1 1 220px;
      min-width: 160px;
      margin: 0;
    }
    .responsive-row.stacked {
      flex-direction: column;
      display: flex;
      gap: 0rem; /* or your preferred spacing */
    }

    /* Stack image above text on small screens */
    @media (max-width: 700px) {
      .image-wrap {
        float: none;
        display: block;
        width: 100%;
        max-width: 320px;
        margin: 0 auto 18px auto;
      }
    }

    @media (max-width: 600px) {
      main {
        padding: 12px;
      }
      h1 { font-size: 1.4rem; }
      h2 { font-size: 1.1rem; }
      ul { margin-left: 1rem; }
    }

/* Navigation container */
#nav-container {
  display: flex;
  flex-direction: column;
  min-width: 320px;
  max-width: 1200px;
  align-items: center;
  position: relative;
  background-color: #fff;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  width: 100%;
}

/* Navigation styles */
.navigation {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

/* Navigation inner container */
.navigation .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
  padding: 20px;
  width: 100%;
  background-color: #31214f;
}

/* Title styles */
.navigation .title {
  display: flex;
  flex-direction: column;
  width: 277px;
  align-items: flex-start;
  margin-bottom: 0;
}

.navigation .text-wrapper {
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 600;
  color: #fff;
  font-size: 32px;
  line-height: 32px;
  white-space: nowrap;
  margin: 0;
}

.navigation .executive-UX-product {
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 300;
  color: #fff;
  font-size: 14px;
  line-height: normal;
  margin: 0;
  padding: 0;
}

/* Menu styles */
.menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.menu ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li {
  margin: 0;
  padding: 0;
}
.menu li:hover {
    transform: scale(1.1);
}

.menu a,
.text-wrapper-2 {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: transform 0.2s;
}

.menu a:focus,
.menu a:hover,
.text-wrapper-2:focus,
.text-wrapper-2:hover {
  outline: none;
  transform: scale(1.1);
}

/* Case StudyPagination styles */

.pagination-nav {
  margin: 2rem 0;
  padding: 2rem 1rem;
  text-align: center;
}
.pagination-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pagination-link {
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  background: #f5f5f5;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}
.pagination-link:hover {
  background: #1D152B;
  color: #fff;
}
.pagination-current {
  font-weight: bold;
  color: #1D152B;
  padding: 0.5rem 1.5rem;
}
.pagination-link.disabled {
  background: #eee;
  color: #aaa;
  cursor: not-allowed;
  pointer-events: none;
  border: 1px solid #ddd;
  border-radius: 2rem;
  padding: 0.5rem 1.5rem;
  text-decoration: none;
  font-weight: 600;
}

/* Footer */
footer {
  padding: 1.25rem;
  width: 100%;
  background-color: #1D152B;
}

footer .links {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-start;
  gap:1.25rem;
  color: #fff;
  padding-bottom: 1rem;
}

footer a {
  color: #fff;
  text-decoration: none;
  margin: 0;
  transition: transform 0.2s;
}

footer a:hover{
    transform: scale(1.1);
}

.copyright {
  color: #fff;
  margin: 0;
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
}

/* Responsive adjustments for footer */
@media (max-width: 600px) {
  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 12px;
  }
  
.copyright {
    margin-top: 4px;
    margin-left: 0;
    align-self: flex-start;
    white-space: normal;
    word-break: break-word;
    width: 100%;
}
}

/* Primary Call to Action Button */
.cta-button {
  background-color: #007bff;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
}


.cta-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: #32224F;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 40px;
}

/* Optimized CTA Button styles */
.button,
.cta-button {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 60px; /* More reasonable horizontal padding for responsiveness */
  background-color: #d8ff20;
  border-radius: 50px;
  border: 5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s;
  font-size: 24px;
  font-weight: 700;
}

.button:hover,
.button:focus,
.cta-button:hover,
.cta-button:focus {
  transform: scale(1.08);
}

/* CTA Button text style */
.button .text-wrapper,
.cta-button .text-wrapper {
  all: unset;
  box-sizing: border-box;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-weight: 700;
  color: #32224F;
  font-size: 24px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
}

/* Responsive adjustments for CTA button */
@media (max-width: 600px) {
  .button,
  .cta-button {
    padding: 16px 24px;
    font-size: 18px;
  }
  .button .text-wrapper,
  .cta-button .text-wrapper {
    font-size: 18px;
  }
}

/* Screen reader only text */   
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* image wrapper */
.image {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Make text flow around the image responsively */
    .image-wrap {
      float: right;
      width: 260px;
      max-width: 40vw;
      margin: 0 0 24px 24px;
      border: #000000 5px solid;
    }

    .image-wrap img {
      width: 100%;
      height: auto;
      display: block;
    
    }

    /* Stack image above text on small screens */
    @media (max-width: 700px) {
      .image-wrap {
        float: none;
        display: block;
        width: 100%;
        max-width: 320px;
        margin: 0 auto 18px auto;
      }
    }

/* Reduce gaps between content chunks, especially on mobile */
h1 {
  margin-top: 0
  ;
  margin-bottom: 0.5rem;
  font-weight: 400;
  font-size: 1.875rem;
}

h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 1.25rem;
}

main ul,
main p,
main .responsive-row,
main .image-wrap {
  margin-bottom: 1rem;
}

.responsive-row {
  gap: 16px;
  margin-bottom: 1rem;
}

@media (max-width: 700px) {
  main {
    padding: 10px;
  }
  main h1,
  main h2 {
    margin-top: 0.8rem;
    margin-bottom: 0.3rem;
  }
  main ul,
  main p,
  main .responsive-row,
  main .image-wrap {
    margin-bottom: 0.7rem;
  }
  .responsive-row {
    gap: 10px;
    margin-bottom: 0.7rem;
  }
}

/* Add to about.css or global.css for responsive video */
.hero-video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  background: #000;
}

.hero-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}