body,
html {
  margin: 0;
  padding: 0;
  font-family: 'Readex Pro', sans-serif;
}

h3 {
  margin: 0;
  margin-bottom: 6px;
}

/* Navigation Bar*/
.navbar {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.8rem 0.4rem 110px;
  /*Navbar fatness*/
}

.navbar nav {
  margin-right: 5rem;
  display: flex;
  align-items: center;
}

.logo {
  font-size: 2.5rem;
  font-weight: bold;
  color: #063e01;
  width: 140px;
  height: auto;
  background-image: none;
  background-color: transparent;
}

/* Dark Mode stuff */
/* @media (prefers-color-scheme: dark) {
  .logo {
    content: url('./images/DarkMode.png');
  }
}   */

.navbar a {
  position: relative;
  display: inline-block;
  overflow: hidden;
  text-decoration: none;
  color: #333;
  padding: 0.5rem 1rem;
}

.contact-btn {
  background-color: #00dc5c;
  color: white;
  border: 2px solid #00dc5c;
  padding: 10px 15px;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 100px;
  font-family: 'Readex Pro', sans-serif;
  cursor: pointer;
  margin-left: 1rem;
  transition: background-color 0.3s ease-in-out;
}

.contact-btn:hover {
  background-color: #d1ffe4;
  color: #00dc5c;
  border: 2px solid #00dc5c;
}

.navbar a:hover {
  font-weight: 500;
}

/* Hamburger Icon */
.navbar .menu-icon {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Menu */
.navbar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  flex-direction: row;
  background-color: #ffffff;
}

.navbar ul li {
  padding: 10px;
  text-align: center;
}

/* Hero Section */

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 100px 80px 110px;
  background-color: #e6ffec;
}

.hero-text {
  /* margin-right: 5rem; */
  max-width: 44%;
}

.hero-text h1 {
  margin-top: 0rem;
  font-size: 3rem;
}

.hero-text p {
  font-weight: 300;
  font-size: 1.4rem;
  line-height: 1.6;
}

.waitlist-btn {
  padding: 10px 20px;
  font-family: 'Readex Pro', sans-serif;
  background-color: #00dc5c;
  /* Green background */
  color: #ffffff;
  /* White text */
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background-color 0.3s ease-in-out;
}

.waitlist-btn:hover {
  background-color: #02c855;
  /* Darker green on hover */
}

.hero-video {
  margin-right: 0rem;
}

.hero-video iframe {
  height: auto;
  aspect-ratio: 16 / 9;
  /* max-width: 1120px; */
  max-width: 550px;
  border-radius: 8px;
}

/* Purpose section */
.values-section {
  background-color: #ffffff;
  /* White background */
  padding: 90px 100px 80px 110px;
}

.values-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
}

.values-text {
  flex-basis: 40%;
  /* Adjust the width of the text column */
}

.values-text h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #02c855;
}

.values-text h1 {
  margin-top: 0rem;
  font-size: 2.5rem;
  color: #063e01;
}

.values-text p {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: 300;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* Two columns */
  grid-gap: 1.5rem;
  flex-basis: 52%;
  /* Adjust the width of the grid column */
}

.grid-item h2 {
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
  margin-top: 0;
  color: #063e01;
}

.grid-item p {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 300;
  margin-bottom: 0;
  color: #333;
  margin-top: 0.5rem;
  /* Dark text for paragraphs */
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  font-weight: 400;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  font-size: 0.8rem;
  width: 200px;
  background-color: #e9e6e6;
  color: #333;
  text-align: center;
  padding: 10px;
  border-radius: 6px;

  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
  top: 150%; /* Place the tooltip below the text */
  left: 50%;
  margin-left: -100px; 
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
}

.tooltip:hover {
  cursor: help;
}

/* About Us Section */
.team-section {
  padding: 4rem 100px 3rem 110px;
  background-color: #e6ffec;
}

.linkedin{
  color: #333;
}

.team-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.team-image {
  flex-basis: 40%;
}

.team-image img {
  display: block;
  width: 80%;
  height: auto;
  margin: 1rem auto;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

.team-info {
  flex-basis: 50%;
}

.team-info h2 {
  margin: 0;
  color: #063e01;
}

.team-info h4 {
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: 300;
  color: #333;
  margin-top: 10px;
  margin-bottom: 10px;
}

.team-info p {
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 300;
  color: #333;
  margin-top: 0px;
  margin-bottom: 10px;
}

.team-info b {
  font-size: 1.1em;
  line-height: 1.6;
  color: #333;
  margin-top: 0px;
  margin-bottom: 10px;
}

.names {
  position: relative
}

.shark {
  position: absolute;
  top: -20px;
  left: -15px;
  width: 60px; /* Adjust based on your needs */
  visibility: hidden;
}

.swim {
  animation: swim 2s linear forwards;
}

@keyframes swim {
  from { transform: translateX(0); visibility: visible; }
  to { transform: translateX(200px); visibility: hidden; } /* Adjust based on your needs */
}

.story-btn {
  background-color: #00dc5c;
  color: white;
  border: 2px solid #00dc5c;
  padding: 10px 15px;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 9px 0;
  cursor: pointer;
  border-radius: 10px;
  font-family: 'Readex Pro', sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.story-btn:hover {
  background-color: #d1ffe4;
  color: #00dc5c;
  border: 2px solid #00dc5c;
}

/* Reviews section IMPROVED BETTER */

.reviews h2{
  text-align: center;
  padding-top: 2rem;
  margin-bottom: 0;
}

.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
  overflow: hidden;
  border-radius: 10px;
}

.mySlides {
  display: none;
  padding: 30px;
  box-sizing: border-box;
}

.reviewtext, .usertext {
  background: rgba(255, 255, 255, 0.8); /* Light transparent background */
  padding: 10px 15px;
  border-radius: 8px;
  margin: 10px auto;
  max-width: 80%;
}

.reviewtext {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
}

.usertext {
  font-size: 1rem;
  color: #555;
  font-style: italic;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  color: #063e01;
  font-size: 30px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 10px;
}

.prev {
  left: 10px;
}

.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}

/* Articles Featured Media */

.featured-articles {
  text-align: center;
  padding-top: 2rem;
  margin: 1rem 0;
}

.featured-articles h2 {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
}

.logos {
  display: flex;
  justify-content: center;
  /* Logo spacing*/
  gap: 6rem;
  padding-bottom: 1rem;
}

.logos a {
  display: inline-block;
}

.logos img {
  height: 70px;
  /* Logo sizes */
  width: auto;
}

/* Reviews Section Part 1*/
/* .reviews {
  text-align: center;
  padding-bottom: 2rem;
}

.card b {
  font-weight: 400;
}

.card p {
  font-weight:300;
}

.card-container{
  margin-top: 2rem;
  display: flex;
  justify-content: space-evenly;
}
*/
.card {
  flex-basis: 25%; /* card fatness */
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  float: left;
  width: 33.33%;
  padding: 15px;
}

.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

/* Our Story Section */
.intro-section {
  padding: 3rem 110px 3rem 130px;
  background-color: #e6ffec;
}

.intro-content {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.intro-info h1 {
  margin: 1rem 0 1rem 0;
  font-size: 3rem;
}

.intro-info p {
  font-weight: 300;
  font-size: 1.4rem;
  line-height: 1.6;
}

/* Our Story Section */
#our-story {
  padding: 3rem;
  background-color: #ffffff;
  max-width: 800px;
  margin: 0 auto;
}

#our-story h1 {
  font-size: 2.5rem;
  color: #063e01;
  text-align: center;
  margin-bottom: 1rem;
}

#our-story h2 {
  color: hsl(115, 97%, 12%);
  text-align: left;
}

#our-story p {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 2rem;
}

#our-story img {
  display: block;
  width: 80%;
  height: auto;
  margin: 2rem auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}


/* Contact Page */
.contact-form {
  padding: 1rem 0 1rem 2rem;
  margin: 0;
  background-color: #e6ffec;
}

#contact-form {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form h2 {
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.6rem;
}

.contact-form h1 {
  color: #063e01;
  text-align: center;
  margin: 0.7rem;
}

.contact-form p {
  text-align: center;
  margin: 0.7rem;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  box-sizing: border-box;
  font-family: 'Readex Pro', sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
}

.submit-btn {
  padding: 10px 20px;
  font-family: 'Readex Pro', sans-serif;
  background-color: #00dc5c;
  /* Green background */
  color: #ffffff;
  /* White text */
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background-color 0.3s ease-in-out;
}

.submit-btn:hover {
  background-color: #02c855;
  /* Darker green on hover */
}

footer {
  margin-top: auto;
  padding-right: 2rem;
  text-align: right;
  padding: 10px;
  background-color: #f2f2f2;
}

footer a {
  color: black;
}

/* Responsive Media Queries */

@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: row;
    align-items: center;
    padding: 1rem;
  }

  .navbar nav {
    margin: 0rem 0;
  }

  .logo {
    margin-left: 0;
    font-size: 2rem;
    text-align: center;
    /* Center the logo */
  }

  /* ignore this dark mode stuff. Not used. */
  /* @media (prefers-color-scheme: dark) {
    .logo {
      background-image: none;
      background-color: transparent;
      filter: invert(1);
    }
  }   */

  .chat-btn {
    margin-top: 1rem;
  }

  /* Hamburger Icon */
  .navbar .menu-icon {
    display: block;
  }

  /* Hide the regular nav items on mobile */
  .navbar nav {
    display: none;
    flex-direction: column;
    align-items: center;
  }

  .navbar a {
    padding: 15px;
    text-align: center;
  }

  .navbar a:hover {
    font-weight: normal;
  }

  /* Hero Section */
  .hero {
    padding: 20px;
    flex-direction: column-reverse;
    align-items: center;
  }

  .hero-text {
    max-width: 100%;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-video {
    margin-top: 1rem;
    max-width: 100%;
  }

  .hero-video iframe {
    max-width: 100%;
  }

  .waitlist-btn {
    font-size: 1rem;
    padding: 10px 20px;
  }

  /* Purpose Section */
  .values-section {
    padding: 60px 20px;
  }

  .values-content {
    flex-direction: column;
    /* Set to column to stack items */
    align-items: center;
    /* Center items horizontally */
    text-align: left;
    /* Align text to the left */
  }

  .values-text,
  .values-grid {
    flex-basis: 100%;
  }

  .values-text h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #02c855;
    text-align: left;
  }

  .values-text h1 {
    margin-top: 0rem;
    font-size: 2.5rem;
    color: #063e01;
    text-align: left;
  }

  .values-text p {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 300;
    text-align: left;
  }
  .purposeBreak{
    display: inline-block;
    height: 50px;
  }

  .values-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* Add gap between grid items */
    align-items: center;
    /* Center items horizontally */
  }

  .grid-item {
    text-align: left;
  }

  .grid-item h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
    color: #063e01;
  }

  .grid-item p {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 300;
    margin-bottom: 0;
    color: #333;
    /* Dark text for paragraphs */
  }

  /* Tooltip text */
  .tooltip .tooltiptext {
    margin-left: -80px; 
  }

  /* Featured Articles Section */
  .featured-articles {
    padding: 20px;
  }

  .featured-articles h2 {
    font-size: 1.5rem;
  }

  .logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    /* Add gap between logos */
  }

  .logos img {
    width: 150px;
    /* Logo sizes */
    height: auto;
  }
  
  .team-section {
    padding: 4rem 3rem 3rem 3rem;
  }

  .team-content {
    flex-direction: column;
  }

  .team-image, .team-info, .intro-info {
    flex-basis: 100%;
  }

  .team-image img {
    width: 100%;
    border-radius: 10px;
    margin-top: 0;
    margin-bottom: 3rem;
  }

  .intro-section {
    padding: 48px 10px 48px 10px;
  }

  .intro-info h1 {
    margin: 1rem 0 1rem 0;
    font-size: 2.5rem;
  }
  
  .intro-info p {
    font-weight: 300;
    font-size: 1.2rem;
    line-height: 1.6;
  }

  #our-story p {
    text-align: left;
  }

  #our-story img{
    margin: 0;
    width: 100%;
  }

  .contact-form {
    padding: 1rem;
}
}