body {
  font-family: Montserrat;
  font-weight: bold;
  margin: 0;
  padding: 0;
  background-color: rgb(0, 3, 64);
  overflow-x: hidden;
}

.main-section {
  background-color: rgb(0, 3, 64);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-section-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
}

.center-logo-container {
  width: 70%;
  display: flex;
  align-items: center;
  justify-content: center;

  animation: fadeInAnimation ease 1s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.center-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.heading {
  color: transparent;
  font-size: 2rem;
  margin: 0;
  text-align: center;
  background-image: linear-gradient(to left, #ffffff, #00c0a9);
  background-clip: text;
  animation: animateText 5s linear infinite;
  -webkit-background-clip: 500%;
  background-size: 500%;
}
.subheading {
  color: transparent;
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  background-image: linear-gradient(to left, #ffffff, #00c0a9);
  background-clip: text;
  animation: animateText 5s linear infinite;
  -webkit-background-clip: 500%;
  background-size: 500%;
}
@keyframes animateText {
  0% {
    background-position: 0% 100%;
  }
  50% {
    background-position: 100%, 0;
  }
  100% {
    background-position: 0 100%;
  }
}

.cta-buttons {
  display: flex;
}

@media (max-width: 800px) {
  .cta-buttons {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .cta-02 {
    margin-top: 1rem;
    margin-bottom: 2rem;
  }
}

.cta-buttons .cta-01,
.cta-buttons .cta-02 {
  padding: 1.5rem 2rem;
  font-family: Montserrat;
  font-weight: bold;
  font-size: 1.5rem;
  color: rgb(0, 3, 64);
  border: 3px solid transparent;
  border-radius: 20px;
  cursor: pointer;
  transition: border-color 0.3s ease, background-color 0.3s ease,
    color 0.3s ease;
}

.cta-02 {
  margin-left: 0.5rem;
  background-color: rgb(8, 255, 189);
}

.cta-01:hover,
.cta-02:hover {
  background-color: transparent;
  border-width: 3px;
}

.cta-01:hover {
  border-color: white;
  color: white;
}

.cta-02:hover {
  border-color: rgb(8, 255, 189);
  color: rgb(8, 255, 189);
}

.title {
  width: 80%;
}

.about-section,
.careers-section,
.contact-section {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 8rem 2rem;
}
.team-section {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 8rem 2rem;
}
.team-card-container {
  display: grid;
  margin-top: 20px;
  padding: 25px;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) and (min-width: 769px) {
  .team-card-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .team-card-container {
    grid-template-columns: 1fr;
  }
}
.team-card {
  margin: 50px;
  position: relative;
  display: flex;
  height: 350px;
  width: 280px;
  border-radius: 10px;
  background-color: aliceblue;
  justify-content: center;
}
.team-card img {
  border-radius: 10px;
  height: 350px;
  width: 280px;
  filter: grayscale(100);
}
.social-media-card {
  position: absolute;
  top: 305px;
  text-align: center;
  justify-content: center;
  background-color: #ffffff;
  box-shadow: 0px 3px 2px #888888;
  height: 85px;
  width: 200px;
  border-radius: 10px;
}
.social-media-container {
  margin: auto;
  height: 0px;
  width: 180px;
  display: flex;
  overflow: hidden;
}
.social-media-container img {
  padding-left: 20px;
  padding-right: 20px;
  width: 20px;
  height: 20px;
}
.team-card:hover .social-media-card {
  height: 120px;
}
.team-card:hover .social-media-container {
  height: 50px;
}
.team-card:hover img {
  filter: grayscale(0);
}
.team-name {
  font-size: 16px;
  margin: 1rem 0.5rem;
}
.team-role {
  font-size: 14px;
}
.title-image {
  height: 1rem;
}
.team-section .title-01 {
  color: rgb(0, 3, 64);
  text-align: center;
  font-size: 2.5rem;
}
.team-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0; /* shorthand for top, right, bottom, left: 0 */
  background-color: rgba(0, 0, 0, 0.6);
  padding: 20px;
  overflow-y: auto;
}

.team-modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  max-width: 90%;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.team-modal-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.team-modal-text h1 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 10px;
}

.team-modal-text p {
  width: 100%;
  max-width: 100%;
  text-align: justify;
  line-height: 1.6;
}

.team-modal-image {
  width: 100%;
  text-align: center;
}

.team-modal-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.team-modal-text-2 {
  margin-top: 20px;
}

.team-modal-text-2 p {
  max-width: 100%;
  line-height: 1.6;
  margin-bottom: 1em;
}

/* Tablet & Up (≥768px) */
@media screen and (min-width: 768px) {
  .team-modal-image {
    flex-shrink: 0;
    margin-left: 10px !important;
  }

  .team-modal-image img {
    max-width: 100%;
  }

  .team-modal-text {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .team-modal-text h1 {
    text-align: right;
    font-size: 28px;
  }

  .team-modal-text > div {
    flex: 1;
  }
}

.closeModal {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.closeModal:hover,
.closeModal:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.services-section {
  background-color: #00c0a9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 8rem 2rem;
}

.about-section .title-01,
.about-section .title-02 {
  color: #00c0a9;
  font-size: 2.5rem;
  text-align: center;
}

.about-section-others .title-02 {
  color: #00c0a9;
  font-size: 1.5rem;
  text-align: center;
  margin-top: 50px;
}

.team-section .title-02 {
  color: #00c0a9;
  font-size: 1.5rem;
  text-align: center;
  margin-top: 50px;
}

.title-01::before,
.title-01::after {
  background-color: rgb(180, 180, 180);
  content: "";
  display: inline-block;
  height: 0.125rem;
  position: relative;
  vertical-align: middle;
  width: 45%;
}

.title-01::before {
  right: 0.5em;
  margin-left: -100%;
}

.title-01::after {
  left: 0.5em;
  margin-right: -100%;
}

.about-section .title-02,
.services-section .title-01,
.careers-section .title-01 .team-section .title-02 {
  font-size: 2.125rem;
  margin-bottom: 1.25rem;
}

.description {
  color: gray;
  font-size: 1.5rem;
  width: 85%;
  line-height: 2.5rem;
}

/* Core styles/functionality */
.tab input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
.tab__content {
  max-height: 0;
  overflow: auto;
  transition: all 0.35s;
}
.tab__content::-webkit-scrollbar {
  width: 10px;
}

.tab__content::-webkit-scrollbar-track {
  background-color: #00c0a9;
}

.tab__content::-webkit-scrollbar-thumb {
  background-color: #7b7d7f;
  border: 5px solid #00c0a9;
  border-radius: 10rem;
}

.tab__content::-webkit-scrollbar-thumb:hover {
  border: 5px solid #009b89;
}

.tab__content p {
  font-size: 1.05rem;
}

.tab input:checked ~ .tab__content {
  max-height: 10rem;
}

.tab input:checked ~ .tab__label {
  background-color: #00c0a9;
  color: white;
}

.tab__label:hover {
  background-color: #00c0a9;
  color: white;
  transition: background-color 0.5s, opacity 0.5s;
}

/* Visual styles */
.accordion {
  margin: 0.5rem;
  color: gray;
  border: 2px solid;
  border-radius: 0.5rem;
  overflow: hidden;
}

.tab__label,
.tab__close {
  display: flex;
  color: gray;
  background: white;
  cursor: pointer;
}
.tab__label {
  justify-content: space-between;
  padding: 1rem;
}
.tab__label::after {
  content: "\276F";
  width: 1em;
  height: 1em;
  text-align: center;
  transform: rotate(90deg);
  transition: all 0.35s;
}
.tab input:checked + .tab__label::after {
  transform: rotate(270deg);
}
.tab__content p {
  margin: 0;
  padding: 0.5rem;
}
.tab__close {
  justify-content: flex-end;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

/* Arrow animation */
.tab input:not(:checked) + .tab__label:hover::after {
  animation: bounce 0.5s infinite;
}
@keyframes bounce {
  25% {
    transform: rotate(90deg) translate(0.25rem);
  }
  75% {
    transform: rotate(90deg) translate(-0.25rem);
  }
}

.services-section .title-01,
.services-section .title-02 {
  color: white;
  font-size: 2.5rem;
  text-align: center;
}

.services-section .title-01::before,
.services-section .title-01::after {
  background-color: #00c0a9;
  width: 46%;
}

.services-section .title-01 {
  font-size: 2.125rem;
}

.services {
  width: 100%;
  color: white;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem;
  margin: 3rem 0;
  font-size: 1.5rem;
}

@media (max-width: 1000px) {
  .services {
    flex-direction: column;
  }

  .service-02 {
    margin: 0;
  }

  .service-01,
  .service-02,
  .service-03 {
    width: 100%;
    margin: 2rem 0;
  }
}

.service-image {
  width: 100%;
  object-fit: contain;
}

.services p {
  margin: 2rem 0;
}

.service-01,
.service-02,
.service-03 {
  width: 14rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem;
}

.service-01 div,
.service-02 div,
.service-03 div {
  width: 100%;
  height: 50%;
}

.service-02 {
  margin: 0 8rem;
}

.careers-section {
  background-color: #b7fcef;
}

.careers-section .title-01 {
  color: rgb(0, 3, 64);
  text-align: center;
  font-size: 2.5rem;
}

.careers-section .title-01::before,
.careers-section .title-01::after {
  background-color: rgb(180, 180, 180);
  width: 49%;
}

.careers {
  width: 100%;
  color: white;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  margin: 3rem 0;
  font-size: 1.5rem;
}

@media (max-width: 1000px) {
  .careers {
    flex-direction: column;
  }

  .career-01,
  .career-02,
  .career-03 {
    width: 100%;
    margin: 2rem 0;
  }
}

.career-image {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  object-position: center;
}

.about-career {
  padding: 0 1.5rem;
  font-size: 0.5em;
}

.career-title {
  font-size: 1.5rem;
  margin: 1rem 0;
}

.career-01,
.career-02,
.career-03 {
  background-color: #00c0a9;
  width: 20rem;
  display: flex;
  flex-direction: column;
  padding-bottom: 1.5rem;
}
.career-01:hover,
.career-02:hover,
.career-03:hover {
  background-color: rgb(0, 3, 64);
  transition: all 0.5s linear;
}
.career-02 {
  margin: 0 6rem;
}
.contact-section {
  background-color: rgb(0, 3, 64);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 40rem;
}

@media (max-width: 1300px) {
  .contact-section {
    flex-direction: column;
  }

  .line {
    display: none;
  }
}

.footer-logo {
  width: 40%;
}

.logo {
  width: 100%;
}

.line {
  width: 20px;
  border-right: 2px solid #858585;
  opacity: 0.4;
  height: 32rem;
  margin-left: 20px;
}

.form {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 4rem;
}

.contact-title p {
  color: white;
  margin: 0;
}

.contact-title .title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: row;
  margin: 3rem;
}

@media (max-width: 800px) {
  .contact-form {
    flex-direction: column;
  }

  .message-container {
    margin-top: 2rem;
  }

  .contact-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
  }

  .contact-title p {
    text-align: center;
  }
}

.contact-form input,
.message {
  border: 1px solid rgb(130, 130, 130);
  padding: 0.5rem 0.5rem 0.5rem 0.6rem;
  margin: 0;
  width: 18rem;
  background-color: rgb(36, 38, 85);
  color: white;
  font-family: Montserrat;
  outline: none;
}

.contact-form .full-name,
.contact-form .company {
  margin-bottom: 0.8rem;
}

input:focus,
textarea:focus {
  border-color: #ffffff;
  border: 2px solid;
}

.contact-form input::placeholder {
  color: rgb(130, 130, 130);
}

.info-fields-container {
  display: flex;
  flex-direction: column;
  margin-right: 6rem;
}

@media (max-width: 800px) {
  .info-fields-container {
    margin: 0;
  }
}

.info-fields-01,
.info-fields-02 {
  display: flex;
  flex-direction: column;
}

.info-fields-01 {
  margin-bottom: 2rem;
}

.message {
  padding: 0.5rem 0.5rem 0 0.6rem;
  height: 11.6rem;
}

.send-button {
  background-color: #00c0a9;
  color: white;
  border: none;
  border-radius: 0.4rem;
  padding: 0.5rem 3rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.5s, opacity 0.5s;
}

.send-button:hover {
  background-color: white;
  color: rgb(0, 3, 64);
}

@media only screen and (max-width: 800px) {
  .careers-section .title-01::before,
  .careers-section .title-01::after {
    background-color: transparent;
    width: 0;
  }
  .services-section .title-01::before,
  .services-section .title-01::after {
    background-color: transparent;
    width: 0;
  }
  .about-section .title-01::before,
  .about-section .title-01::after {
    background-color: transparent;
    width: 0;
  }
}

@media only screen and (max-width: 400px) {
  .subtitle {
    width: 250px;
  }
  .about-section,
  .services-section,
  .careers-section,
  .contact-section,
  .team-section {
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 1rem 8rem 1rem;
    overflow: hidden;
  }

  .contact-section {
    background-color: rgb(0, 3, 64);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 40rem;
  }
}
