@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');
@import url(fonts/n27.css);

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: #023047;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #ffffff;
  padding-top: 5rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "N27", serif;
  line-height: 1.2;
}

/* HEADER + NAVBAR */

header {
  background: transparent;
  padding: 1rem 2rem;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  transition: all 0.3s ease;
  max-width: 1400px;
}

/* Floating state */
header.floating {

  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 100px;
  top: 0.75rem;
  padding: 0.75rem 1.5rem;
  box-shadow: 
    0 4px 30px rgba(0, 0, 0, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Hidden state */
header.hidden {
  transform: translate(-50%, -100%);
  top: 0;
}

/* Logo adjustments */
.logo {
  display: flex;
  align-items: center;
  gap: 1em;
  z-index: 2;
  padding: 0.25rem;
}

.logo img {
  height: 2.5rem;
  width: auto;
  transition: height 0.3s ease;
}

.logo h1 {
  white-space: nowrap;
  font-size: 1.5rem;
  font-weight: 400;
  transition: font-size 0.3s ease;
}

/* Navigation */
nav {
  flex: 1;
  max-width: 800px;
  margin-left: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: inherit;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 0.95rem;
}

nav a:hover {
  background: rgba(2, 48, 71, 0.05);
}

/* Mobile adjustments */
@media screen and (max-width: 1019px) {
  header {
    padding: 0.75rem 1rem;
    top: 0.5rem;
  }

  header.floating {
    padding: 0.75rem 1rem;
    border-radius: 0;
    top: 0;
    width: 100%;
    max-width: none;
  }

  nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .logo img {
    height: 2.25rem;
  }

  .logo h1 {
    font-size: 1.25rem;
  }
}

/* Hamburger Menu */
.hamburger {
  display: none;
  border: none;
  background: none;
  padding: 0;
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  z-index: 2;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #023047;
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

/* Hamburger animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

@media screen and (max-width: 1019px) {
  .hamburger {
    display: block;
  }

  nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: #ffffff;
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  }

  nav.active {
    transform: translateX(0);
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  nav a {
    display: block;
    width: 100%;
    padding: 1rem;
  }
}

/* Add body class for when menu is open */
body.menu-open {
  overflow: hidden;
}

section {
  padding: 6rem 2rem;
  position: relative;
}

section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  color: inherit;
}

/* Content width constraints */
.section-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-content-wide {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.logo > img {
  height: 3em;
  width: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-left: 10px;
}

.logo h1 {
  white-space: nowrap;
  font-size: 1.75rem;
  font-weight: 400;
}

header a {
  text-decoration: none;
  color: inherit;
}

nav {
  flex: 1;
  max-width: 800px;
  margin-left: auto;
}

nav > ul {
  list-style-type: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: flex-end;
}

nav > ul > li > a {
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
}

nav > ul > li > a:hover {
  background: rgba(2, 48, 71, 0.05);
}

.menu-toggle {
  width: 30px;
  height: 30px;
  display: none;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 100;
  border: none;
  background: transparent;
  padding: 0;
  margin-left: 1rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #023047;
  position: absolute;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle span:first-child {
  transform: translateY(-8px);
}

.menu-toggle span:last-child {
  transform: translateY(8px);
}

.menu-toggle.active span:first-child {
  transform: translateY(0) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:last-child {
  transform: translateY(0) rotate(-45deg);
}

@media screen and (max-width: 450px) {
  .logo h1 {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 400px) {
  .logo h1 {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 1019px) {
  header {
    padding: 1rem;
  }

  .menu-toggle {
    display: flex;
  }

  nav {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    border-bottom: 1px solid rgba(2, 48, 71, 0.1);
    margin: 0;
  }

  nav.active {
    max-height: calc(100vh - 73px);
    padding: 1rem;
  }

  nav > ul {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 1rem;
  }

  nav > ul > li {
    width: 100%;
  }

  nav > ul > li > a {
    display: block;
    padding: 1rem;
    text-align: center;
    background: rgba(2, 48, 71, 0.02);
    border: 1px solid rgba(2, 48, 71, 0.05);
  }

  nav > ul > li > a:hover {
    background: rgba(2, 48, 71, 0.05);
  }

  .diamond > a,
  .genzai > a {
    margin: 0;
  }
}

/* HERO SECTION */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  mask-image: linear-gradient(to top, 
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 85%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: linear-gradient(to top, 
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 85%,
    rgba(0, 0, 0, 0) 100%
  );
}

.hero-text {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
}

.hero-text h2 {
  color: #023047;
}

.hero-text p {
  color: #546E7A;
}

.hero h2 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  color: #023047;
  line-height: 1.1;
}

.hero p {
  font-size: 1.5rem;
  color: #546E7A;
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

.cta-button {
  display: inline-block;
  background: #023047;
  color: #ffffff;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background: #034363;
}

/* New about section styles */
.about {
  background-color: #023047;
  color: #ffffff;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("https://images.unsplash.com/photo-1522743791393-522312deeebf?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1358&q=80");
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.about-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  z-index: 1;
}

.about h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.about-text {
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Responsive updates */
@media screen and (max-width: 768px) {
  .hero {
    padding: 4rem 1.5rem;
  }
  
  .hero h2 {
    font-size: 3rem;
  }
  
  .hero p {
    font-size: 1.25rem;
  }
  
  .about {
    padding: 4rem 1.5rem;
  }
  
  .about h2 {
    font-size: 2rem;
  }
  
  .about-text {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 480px) {
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
}

/* WHAT WE DO SECTION */

.what-we-do {
  background-color: #ffffff;
  padding: 6rem 2rem;
  position: relative;
}

.what-we-do > .row {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.what-we-do .card {
  flex: 1;
  min-width: 280px;
  max-width: 380px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.what-we-do h2 {
  margin-bottom: 0px;
}

lead {
  display: block;
  text-align: center;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  padding: 0;
}

.methods {
  font-size: 1.3em;
  padding: 10px;
  text-align: center;
}

.items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto;
  text-align: left;
}

.item-card {
  background: rgba(2, 48, 71, 0.02);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s ease;
  position: relative;
  border: 1px solid rgba(2, 48, 71, 0.05);
}

.item-card:hover {
  transform: translateY(-4px);
}

.item-card h3 {
  color: #023047;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
}

.item-card h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  background: #fb8500;
  border-radius: 50%;
}

.item-card p {
  color: #546E7A;
  line-height: 1.6;
}

@media screen and (max-width: 768px) {
  .what-we-do {
    padding: 2rem 1rem;
  }

  lead {
    font-size: 1.1em;
    padding: 1rem 0;
  }

  h2,
  lead,
  .methods,
  .items h3 {
    font-size: 1em; /* Reduced font size for smaller screens */
  }

  .card {
    padding: 1rem;
  }

  .items {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .item-card h3 {
    font-size: 1.3rem;
  }
}

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-2px);
}

.card > ul {
  list-style-type: none;
  padding: 0;
}

.circle {
  height: 50px;
  width: 50px;
  background-color: #fb8500;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #eef7fb;
  position: relative;
  margin: auto;
  top: -35px;
  margin-bottom: -40px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* WHY US SECTION */

.whyus {
  background-color: #023047;
  color: #ffffff;
  padding: 6rem 2rem;
  border: none;
}

.whyus > .row {
  display: flex;
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 0;
  flex-wrap: wrap;
  justify-content: center;
}

.whyus .card {
  flex: 1;
  min-width: 280px;
  max-width: 380px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* CASE STUDIES SECTION */

.case-studies {
  background: #ffffff;
  padding: 6rem 2rem;
}

.case-studies .row {
  max-width: 800px;
  margin: 3rem auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.collapsible {
  background: none;
  padding: 2rem;
  width: 100%;
  text-align: left;
  font-family: "N27", serif;
  font-size: 1.5rem;
  color: #023047;
  cursor: pointer;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(2, 48, 71, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.collapsible:after {
  content: '+';
  margin-left: 1rem;
}

.collapsible:hover {
  background: rgba(2, 48, 71, 0.05);
}

.case-study-content {
  max-height: 0px;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: #ffffff;
  padding: 0 2rem;
}

.case-study-content p {
  color: #546E7A;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.case-study-content p:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 768px) {
  .collapsible {
    padding: 1.5rem;
    font-size: 1.25rem;
  }

  .case-study-content {
    padding: 0 1.5rem;
  }
}

/* Highlight key results */
.case-study-content .results {
  background: rgba(2, 48, 71, 0.02);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 2rem;
  border: 1px solid rgba(2, 48, 71, 0.05);
}

.case-study-content .results h4 {
  color: #023047;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

@media screen and (max-width: 768px) {
  .case-studies {
    padding: 4rem 1.5rem;
  }

  .collapsible {
    padding: 1.5rem;
    font-size: 1.25rem;
  }

  .case-study-content.expanded {
    padding: 1.5rem;
  }
}

/* TESTIMONIALS SECTION */

.testimonials {
  background-color: #023047;
  color: #ffffff;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(251, 133, 0, 0.1), transparent);
  opacity: 0.1;
}

.slideshow-container {
  max-width: 900px;
  margin: 3rem auto 0;
  position: relative;
  min-height: 400px;
  padding: 0 4rem;
}

.mySlides {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  padding: 3rem 0;
  text-align: center;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.mySlides.active {
  opacity: 1;
  z-index: 2;
}

q {
  display: block;
  font-style: normal;
  font-size: 2rem; /* Default size for short testimonials */
  line-height: 1.4;
  font-family: "N27", serif;
  margin-bottom: 2rem;
  position: relative;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

q::before {
  content: '"';
  position: absolute;
  left: -2rem;
  top: -1rem;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.1);
  font-family: "N27", serif;
}

.author {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}

/* Navigation buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 5;
}

.prev {
  left: 1rem;
}

.next {
  right: 1rem;
}

.prev:hover,
.next:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

/* Slide indicators */
.dot-container {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  z-index: 5;
}

.dot {
  width: 2.5rem;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.dot.active {
  background: #ffffff;
  width: 3.5rem;
}

@media screen and (max-width: 768px) {
  .dot-container {
    bottom: 1rem;
    gap: 0.75rem;
  }
  
  .dot {
    width: 2rem;
    height: 2px;
  }
  
  .dot.active {
    width: 2.5rem;
  }
}

/* Smaller text for longer testimonials */
.mySlides.long q {
  font-size: 1.5rem;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .mySlides q {
    font-size: 1.75rem;
  }
  
  .mySlides.long q {
    font-size: 1.25rem;
  }
  
  .dot {
    height: 0.4rem;
    width: 0.4rem;
  }
}

@media screen and (max-width: 480px) {
  .mySlides q {
    font-size: 1.5rem;
  }
  
  .mySlides.long q {
    font-size: 1.1rem;
  }
}

/* TEAMS SECTION */

.team {
  background: rgba(2, 48, 71, 0.02);
  padding: 6rem 2rem;
}

.team-row {
  max-width: 1000px;
  margin: 3rem auto 0;
}

.team .bio {
  background: #ffffff;
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid rgba(2, 48, 71, 0.1);
  position: relative;
  overflow: hidden;
}

.team img {
  float: left;
  width: 320px;
  height: auto;
  margin: 0 2rem 1rem 0;
  border-radius: 8px;
  border: 1px solid rgba(2, 48, 71, 0.1);
  transition: transform 0.3s ease;
}

.team img:hover {
  transform: translateY(-4px);
}

.team .bio h3 {
  color: #023047;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.team .bio p {
  color: #546E7A;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.team .bio p:first-of-type {
  font-size: 1.2rem;
  color: #023047;
}

.team .bio a {
  color: #fb8500;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.team .bio a:hover {
  color: #cc6d00;
}

/* Responsive design for team section */
@media screen and (max-width: 900px) {
  .team-row {
    padding: 0 1.5rem;
  }

  .team .bio {
    padding: 2rem;
  }

  .team img {
    float: none;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 2rem;
    display: block;
  }

  .team .bio h3 {
    font-size: 2rem;
    text-align: center;
  }

  .team .bio p:first-of-type {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 480px) {
  .team .bio {
    padding: 1.5rem;
  }

  .team .bio h3 {
    font-size: 1.75rem;
  }
}

/* CONTACT SECTION */

.contact {
  background-color: #023047;
  color: #ffffff;
  padding: 6rem 2rem;
  border: none;
}

.form-container {
  max-width: 600px;
  margin: 3rem auto 0;
}

label {
  margin-top: 10px;
}

input,
textarea {
  border-radius: 8px;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:hover,
textarea:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #023047;
  box-shadow: 0 0 0 3px rgba(2, 48, 71, 0.1);
}

textarea {
  height: 200px;
}

.contact-row {
  display: flex;
  gap: 20px;
}

.contact-col {
  flex-basis: 50%;
  display: flex;
  flex-direction: column;
}

input[type="submit"] {
  background: #023047;
  color: #ffffff;
  font-weight: 500;
  padding: 1rem 2rem;
  margin-top: 2rem;
}

input[type="submit"]:hover {
  background-color: #034363;
}

footer {
  align-items: center;
  justify-content: space-between;
  padding: 0px;
  background-color: #023047;
  position: relative;
}

footer p.lead {
  font-size: 36px;
  margin: 0px;
  margin-top: -5px;
  color: #034363;
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
}

footer .copyright {
  font-family: "N27", serif;
  margin: 12px;
  margin-left: 30px;
  display: block;
  color: #eef7fb;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 10;
  font-weight: bold;
}


.ohnopage {
  font-size: larger;
  display: flex;
  margin: auto;
  align-items: center;
  justify-content: center;
  height: 80vh;
  gap: 40px;
}

.ohnotext {
  width: 30%;
}

.ohnopage img {
  width: 20%;
  height: auto;
}

/* INTERVIEWS */

.diamond > a {
  background: rgba(251, 133, 0, 0.1);
  color: #023047;
}

.diamond > a:hover {
  background: rgba(251, 133, 0, 0.15);
}

.genzai > a {
  background: rgba(70, 73, 202, 0.1);
  color: #023047;
}

.genzai > a:hover {
  background: rgba(70, 73, 202, 0.15);
}

@media screen and (max-width: 768px) {
  .prev, .next {
    font-size: 32px;
    padding: 10px;
  }
}

@media screen and (max-width: 768px) {
  .ohnopage {
    flex-direction: column;
    padding: 2rem;
    height: auto;
  }

  .ohnotext {
    width: 90%;
    text-align: center;
  }

  .ohnopage img {
    width: 50%;
  }
}

/* New section for previous hero content */
.mission-statement {
  background-color: #023047;
  color: #ffffff;
  padding: 6rem 2rem;
  background-image: url("https://images.unsplash.com/photo-1522743791393-522312deeebf?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1358&q=80");
  background-size: cover;
  background-position: center;
  position: relative;
}

.mission-statement::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(2, 48, 71, 0.85);
}

.mission-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  z-index: 1;
}

/* Responsive updates */
@media screen and (max-width: 768px) {
  .hero h2 {
    font-size: 2.5rem;
  }
  
  section {
    padding: 4rem 1.5rem;
  }
  
  .mission-statement {
    padding: 4rem 1.5rem;
  }
}

/* Add body class for when menu is open */
body.menu-open {
  overflow: hidden;
}

/* Responsive updates */
@media screen and (max-width: 768px) {
  section {
    padding: 4rem 1.5rem;
  }
  
  .what-we-do .card,
  .whyus .card {
    min-width: 100%;
  }
  
  q {
    font-size: 1.2rem;
  }
  
  .prev, .next {
    font-size: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .contact-row {
    flex-direction: column;
  }
  
  .case-studies {
    padding: 4rem 1.5rem;
  }
  
  .collapsible {
    font-size: 1.1rem;
    padding: 1.25rem;
  }
}

/* Update form styles for dark background */
.contact input,
.contact textarea {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.contact input::placeholder,
.contact textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.contact input:focus,
.contact textarea:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.contact input[type="submit"] {
  background: #ffffff;
  color: #023047;
  border: none;
}

.contact input[type="submit"]:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Update section margins */
.what-we-do > .row,
.whyus > .row,
.case-studies > .row,
.slideshow-container,
.team-row,
.form-container {
  margin-top: 3rem;
}

/* Lead text styling */
lead {
  display: block;
  text-align: center;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  padding: 0;
}

/* Responsive updates */
@media screen and (max-width: 768px) {
  section {
    padding: 4rem 1.5rem;
  }

  section h2 {
    font-size: 2rem;
  }

  lead {
    font-size: 1.1rem;
  }
}

/* Section dividers */
section:not(.hero) {
  position: relative;
  border-top: 1px solid rgba(2, 48, 71, 0.1);
}

section.dark {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* What We Do section improvements */
.items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto;
  text-align: left;
}

.item-card {
  background: rgba(2, 48, 71, 0.02);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s ease;
  position: relative;
  border: 1px solid rgba(2, 48, 71, 0.05);
}

.item-card:hover {
  transform: translateY(-4px);
}

.item-card h3 {
  color: #023047;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
}

.item-card h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  background: #fb8500;
  border-radius: 50%;
}

.item-card p {
  color: #546E7A;
  line-height: 1.6;
}

/* Method cards improvements */
.methods-container {
  margin-top: 6rem;
  padding: 0 2rem;
}

.methods-container h3 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: #023047;
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.method-card {
  background: rgba(2, 48, 71, 0.02);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  border: 1px solid rgba(2, 48, 71, 0.05);
  transition: transform 0.3s ease;
}

.method-card:hover {
  transform: translateY(-4px);
}

.method-card .circle {
  position: absolute;
  left: 2rem;
  top: 2rem;
  height: 2rem;
  width: 2rem;
  background: #fb8500;
  margin: 0;
  box-shadow: none;
}

.method-card h4 {
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
  padding-left: 3.5rem;
  color: #023047;
  text-align: left;
}

.method-card ul {
  color: #546E7A;
  text-align: left;
  margin: 0;
  padding-left: 1.25rem;
  list-style-type: disc;
}

.method-card li {
  margin: 0.75rem 0;
  line-height: 1.6;
}

/* Responsive updates */
@media screen and (max-width: 768px) {
  .methods-container {
    margin-top: 4rem;
    padding: 0 1rem;
  }

  .methods-container h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .methods-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .method-card h4 {
    font-size: 1.3rem;
  }
}

/* Adjust responsive styles for longer testimonials */
@media screen and (max-width: 768px) {
  .slideshow-container {
    min-height: 500px;
  }

  q {
    font-size: 1.25rem;
  }

  .mySlides {
    padding: 2rem 1rem;
  }
}

/* Add more height for very small screens */
@media screen and (max-width: 480px) {
  .slideshow-container {
    min-height: 600px;
  }
}
