:root {
  /* colors */

  --white: hsla(6, 50%, 96%, 1);
  --white: #fff;
  --accent: #005252;
  --dark: #000;
  --green: #00b800;
  --red: #ec0b43;
  --blue: #132350;
  --blue-2: #4ca8e2;
  --blue-op: rgba(76, 168, 226, 0.8);

  --gradient: linear-gradient(145deg, rgba(65, 150, 225, 1) 0%, rgba(0, 216, 216, 1) 49%, rgba(0, 0, 0, 1) 100%);
  --clip: polygon(
    0% 0%,
    0% 82.5%,
    1.69492% 84.3293%,
    3.38983% 86.1385%,
    5.08475% 87.9078%,
    6.77966% 89.6179%,
    8.47458% 91.25%,
    10.1695% 92.7862%,
    11.8644% 94.2098%,
    13.5593% 95.505%,
    15.2542% 96.6578%,
    16.9492% 97.6555%,
    18.6441% 98.487%,
    20.339% 99.1435%,
    22.0339% 99.6176%,
    23.7288% 99.9041%,
    25.4237% 100%,
    27.1186% 99.9041%,
    28.8136% 99.6176%,
    30.5085% 99.1435%,
    32.2034% 98.487%,
    33.8983% 97.6555%,
    35.5932% 96.6578%,
    37.2881% 95.505%,
    38.9831% 94.2098%,
    40.678% 92.7862%,
    42.3729% 91.25%,
    44.0678% 89.6179%,
    45.7627% 87.9078%,
    47.4576% 86.1385%,
    49.1525% 84.3293%,
    50.8475% 82.5%,
    52.5424% 80.6708%,
    54.2373% 78.8616%,
    55.9322% 77.0922%,
    57.6271% 75.3821%,
    59.322% 73.75%,
    61.017% 72.2138%,
    62.7119% 70.7902%,
    64.4068% 69.495%,
    66.1017% 68.3422%,
    67.7966% 67.3446%,
    69.4915% 66.513%,
    71.1864% 65.8565%,
    72.8814% 65.3824%,
    74.5763% 65.0959%,
    76.2712% 65%,
    77.9661% 65.0959%,
    79.661% 65.3824%,
    81.3559% 65.8565%,
    83.0509% 66.513%,
    84.7458% 67.3446%,
    86.4407% 68.3422%,
    88.1356% 69.495%,
    89.8305% 70.7902%,
    91.5254% 72.2138%,
    93.2203% 73.75%,
    94.9153% 75.3821%,
    96.6102% 77.0922%,
    98.3051% 78.8616%,
    100% 80.6708%,
    100% 0%
  );
  --shape: polygon(
    0% 0%,
    0% 82.5%,
    1.69492% 84.3293%,
    3.38983% 86.1385%,
    5.08475% 87.9078%,
    6.77966% 89.6179%,
    8.47458% 91.25%,
    10.1695% 92.7862%,
    11.8644% 94.2098%,
    13.5593% 95.505%,
    15.2542% 96.6578%,
    16.9492% 97.6555%,
    18.6441% 98.487%,
    20.339% 99.1435%,
    22.0339% 99.6176%,
    23.7288% 99.9041%,
    25.4237% 100%,
    27.1186% 99.9041%,
    28.8136% 99.6176%,
    30.5085% 99.1435%,
    32.2034% 98.487%,
    33.8983% 97.6555%,
    35.5932% 96.6578%,
    37.2881% 95.505%,
    38.9831% 94.2098%,
    40.678% 92.7862%,
    42.3729% 91.25%,
    44.0678% 89.6179%,
    45.7627% 87.9078%,
    47.4576% 86.1385%,
    49.1525% 84.3293%,
    50.8475% 82.5%,
    52.5424% 80.6708%,
    54.2373% 78.8616%,
    55.9322% 77.0922%,
    57.6271% 75.3821%,
    59.322% 73.75%,
    61.017% 72.2138%,
    62.7119% 70.7902%,
    64.4068% 69.495%,
    66.1017% 68.3422%,
    67.7966% 67.3446%,
    69.4915% 66.513%,
    71.1864% 65.8565%,
    72.8814% 65.3824%,
    74.5763% 65.0959%,
    76.2712% 65%,
    77.9661% 65.0959%,
    79.661% 65.3824%,
    81.3559% 65.8565%,
    83.0509% 66.513%,
    84.7458% 67.3446%,
    86.4407% 68.3422%,
    88.1356% 69.495%,
    89.8305% 70.7902%,
    91.5254% 72.2138%,
    93.2203% 73.75%,
    94.9153% 75.3821%,
    96.6102% 77.0922%,
    98.3051% 78.8616%,
    100% 80.6708%,
    100% 0%
  );

  /* font-sizes */
  --fs-900: clamp(5rem, 8vw + 1rem, 9.375rem);
  --fs-800: 4rem;
  --fs-700: 3rem;
  --fs-650: 2.5rem;
  --fs-600: 2rem;
  --fs-medium: clamp(1rem, 0.938vw + 0.625rem, 1.75rem);
  --fs-small: clamp(0.75rem, 1.875vw + 0.375rem, 1.125rem);
  --fs-nav: clamp(1rem, 1.25vw + 0.5rem, 2rem);

  /* font-families */
  --ff-serif: Arial, Helvetica, sans-serif;
  --ff-sans-normal: Arial, Helvetica, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  scrollbar-color: transparent transparent;
  scrollbar-width: 0px;
  scroll-behavior: smooth;
}

*::-webkit-scrollbar {
  width: 0;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: transparent;
  border: none;
}

* {
  -ms-overflow-style: none;
}

body,
h1,
h2,
h3,
h4,
h5,
p,
figure,
picture {
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-weight: 400;
}

/* make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* make forms elements easier to work with */
input,
button,
textarea,
select {
  font: inherit;
}

/* remove animations for people who have them turned off */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

button {
  cursor: pointer;
}

/* --------------------------  */
/* Utility Classes             */
/* --------------------------  */
.flex {
  display: flex;
  gap: var(--gap, 0.25rem);
}

.relative {
  position: relative;
}

.d-block {
  display: block;
}

.hidden {
  display: none;
}

.flow > *:where(:not(:first-child)) {
  margin-top: var(--flow-space, 1rem);
}

.container {
  padding: 2rem 2rem;
  margin-inline: auto;
  max-width: min(80rem, 95%);
}

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

.white-filter {
  filter: invert(100%) sepia(0%) saturate(1321%) hue-rotate(85deg) brightness(105%) contrast(109%);
}

/* colors */
.bg-dark {
  background-color: var(--dark);
}
.bg-accent {
  background-color: var(--accent);
}
.bg-accent-2 {
  background-color: var(--accent-2);
}
.bg-accent-3 {
  background-color: var(--accent-3);
}
.bg-white {
  background-color: var(--white);
}
.bg-blue-op {
  background-color: var(--blue-op);
}

.text-black {
  color: #000;
}
.text-accent {
  color: var(--accent);
}
.text-accent-2 {
  color: var(--accent-2);
}
.text-white {
  color: var(--white);
}
.text-green {
  color: var(--green);
}
.text-red {
  color: var(--red);
}

/* typography */
.ff-serif {
  font-family: var(--ff-serif);
}
.ff-sans-normal {
  font-family: var(--ff-sans-normal);
}

.letter-spacing-1 {
  letter-spacing: 4.75px;
}
.letter-spacing-2 {
  letter-spacing: 2.7px;
}
.letter-spacing-3 {
  letter-spacing: 2.35px;
}

.uppercase {
  text-transform: uppercase;
}

.right {
  text-align: right;
}

.left {
  text-align: left;
}

.center {
  text-align: center;
}

.justify {
  text-align: justify;
}

.bold {
  font-weight: 700;
}

.fs-900 {
  font-size: var(--fs-900);
}
.fs-800 {
  font-size: var(--fs-800);
}
.fs-700 {
  font-size: var(--fs-700);
}
.fs-650 {
  font-size: var(--fs-650);
}
.fs-600 {
  font-size: var(--fs-600);
}
.fs-medium {
  font-size: var(--fs-medium);
}
.fs-small {
  font-size: var(--fs-small);
}
.fs-nav {
  font-size: var(--fs-nav);
}

.fs-900,
.fs-800,
.fs-medium {
  line-height: 1.2;
}

body {
  background-image: url(/src/background.png);
  background-size: cover;
}

.primary-header {
  width: 100%;
  max-width: 100%;
  height: 100px;

  align-items: center;
  justify-content: space-between;
  background-image: url(/src/header.jpg);
  background-size: cover;
}

.mobile-nav-toggle {
  display: none;
}

/* button */
.btn {
  padding: 1rem 2rem;
  margin-inline: auto;

  color: white;
  background-color: var(--blue-2);
  border: 0;
  border-radius: 20px;
}

/* Navigation */
.primary-navigation {
  padding: 0;
  margin: 0;

  list-style: none;
  font-size: var(--fs-nav);
}

.primary-navigation li {
  position: relative;
}

.active {
  border-bottom: 2px solid white;
}

.primary-navigation a {
  text-decoration: none;
  font-weight: 400;
}

.primary-navigation a:visited,
.primary-navigation a {
  color: white;
  margin: 0 0 1rem;
}

.primary-navigation a:hover {
  border-bottom: 2px solid white;
}

button {
  margin: 0;
  padding: 0;
}

.header-logo {
  padding-left: 0.5rem;
}

.logo {
  width: 100%;
  max-width: 316px;
  height: auto;
  max-height: 103px;
  padding-block: 5px;
}

@media (max-width: 40em) {
  .primary-navigation {
    --gap: 2em;

    position: fixed;
    z-index: 9998;
    inset: 0 0 0 30%;

    flex-direction: column;
    padding: min(40vh, 30rem) 2em;

    background: #132350;
    transform: translateX(100%);
    transition: transform 350ms ease-out;
  }

  .primary-navigation[data-visible="true"] {
    transform: translateX(0%);
    transition: transform 350ms ease-in;
  }

  .active {
    border-bottom: 2px solid white;
  }

  .primary-navigation a:visited,
  .primary-navigation a {
    color: white;
    margin: 0 0 1rem;
  }

  .primary-navigation a:hover {
    border-bottom: 2px solid white;
  }

  .mobile-nav-toggle {
    display: block;
    position: relative;
    width: 2rem;
    margin-left: auto;
    margin-right: 2rem;
    aspect-ratio: 1;

    background-color: transparent;
    background-image: url("/src/menu-icon.svg");
    background-repeat: no-repeat;
    background-size: contain;
    border: 0;
    z-index: 9999;
  }

  .mobile-nav-toggle[aria-expanded="true"] {
    position: fixed;
    right: 1rem;
    background-color: transparent;
    background-image: url("/src/x-icon.png");
    background-size: cover;
    filter: invert(100%);
    z-index: 9999;
  }
}

@media (min-width: 40em) {
  .primary-navigation {
    --gap: clamp(0.5rem, 1vw + 0.7rem, 3rem);
    padding-block: 2rem;
    padding-inline: clamp(1rem, 2.5vw, 3rem);
  }
  .header-logo {
    flex-shrink: 0;
    padding-inline: clamp(1rem, 2.5vw, 3rem) 0;
  }
}

.hero {
  position: relative;
  display: flex;
  min-height: calc(50vh);
  flex-wrap: wrap;
  min-width: 100vw;
}

.hero__p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  width: 100vw;
  height: 200px;
  margin-top: auto;
  transform: translateY(25%);

  background-image: url(/src/wave.svg);
  background-size: 100% 100%;
  z-index: 2000;
}

.hero__image {
  position: absolute;
  height: calc(50vh);
  min-width: 100vw;
  top: 0;
  left: 0;

  object-fit: cover;
  z-index: 0;
}

#svgPath {
  width: 100%;
  height: 100%;
}

image {
  width: 100%;
  height: 100%;
}

/* .clipped-image {
  clip-path: url(#svgPath);
} */

#hero__svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  filter: grayscale(25%);
  clip-path: url(#svgPath);
}

.hero__header {
  position: relative;
  width: min(70%, 768px);
  margin-inline: auto;

  font-size: 16px;
  font-weight: bold;
  z-index: 10;
  text-align: center;
  text-shadow: 2px 2px black;
  z-index: 1000;
}

@media (min-width: 640px) {
  .hero,
  .hero__image {
    height: calc(100vh + 100px);
  }

  .hero__p {
    height: 300px;

    transform: translateY(0%);
  }

  .hero__header {
    font-size: 24px;
  }

  #top__wave,
  .bot__wave {
    height: 100px;
  }
}

@media (min-width: 1024px) {
  .hero__p {
    height: 400px;
  }

  .hero__header {
    font-size: var(--fs-650);
  }
}

.page {
  margin-top: 4rem;
  background: var(--blue);
}

.page-header {
  font-weight: bold;
  z-index: 10;
  text-align: center;
  text-shadow: 2px 2px var(--blue);
}

.about-us {
  position: relative;
  padding: 4rem 2rem;
  margin: 8rem auto 4rem;

  background-color: white;
  box-shadow: 3px 3px 2px var(--blue);
  border-radius: 20px;
}

@media (min-width: 768px) {
  .about-us {
    padding: 4rem;
  }
}

.about__article {
  padding: 0 0 4rem;
}

.about-us article h2 {
  position: relative;
  padding: 0 0 1rem;

  text-align: right;
}

.about-us article h2::after {
  content: " ";
  position: absolute;
  width: 33%;
  height: 5px;
  bottom: 10px;
  right: 0;
  background-color: var(--blue-2);
}

.value-list {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 1.5rem;
}

.value {
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
  text-align: center;
}

.icon {
  position: relative;
  display: flex;
  justify-content: center;

  width: 150px;
  height: 150px;
  margin-inline: auto;

  background-color: var(--blue-2);
  border-radius: 50%;
}

.icon img:nth-of-type(2) {
  position: absolute;
  width: 40px;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-85%);
}

.tooth {
  width: 130px;
  height: 130px;
  margin-block: auto;

  fill: var(--blue);
}

.board {
  display: flex;
  flex-wrap: wrap;
  padding: 3rem 0rem;
  margin: auto;
  justify-content: space-between;
  gap: 2rem;
}

.board__member::after {
  content: " ";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;

  background-image: linear-gradient(rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 1;
}

.board__member {
  position: relative;
  flex: 1 1 300px;
  height: 100%;
  margin-inline: auto;

  cursor: pointer;
}

@media (min-width: 640px) {
  .board__member {
    flex: 0 1 calc(50% - 2rem);
  }
}

@media (min-width: 1024px) {
  .board__member {
    flex: 0 1 calc(33% - 2rem);
  }
}

.board__header {
  min-width: 100%;
  text-align: center;
}

.board__member img {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: cover;
  top: 0;
  left: 0;
}

.board__title-card {
  position: absolute;
  padding: 0 0.5rem 1rem 0;
  bottom: 0;
  right: 0;
  text-align: right;
  z-index: 10;
}

#chairman {
  padding: 2rem 2rem 1rem 2rem;
  aspect-ratio: 1 / 1;
}

.span--link {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;

  z-index: 100;
}

.bio-1,
.bio-2,
.bio-3,
.bio-5,
.bio-6,
.bio-7,
.bio-8 {
  position: absolute;
  width: min(95%, 800px);
  padding: 3rem 2rem;
  flex-direction: column;
  align-content: center;
  gap: 1rem;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  overflow-y: scroll;

  text-align: center;
  background-color: #fff;
  box-shadow: 0px 0px 5px #333;
  border-radius: 20px;

  z-index: 3000;
}

.bio-pic {
  width: 250px;
  height: auto;
  margin-inline: auto;
}

.widget {
  height: 800px;
}

@media (min-width: 800px) {
  .widget {
    height: 910px;
  }
}

@media (max-width: 900px) {
  .widget {
    box-shadow: 0px 0px 2px #333;
  }
}

.contact-us h2 {
  padding-bottom: 3rem;
}

.contact-us__list {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;

  list-style: none;
  padding: 0 0 3rem 0;
  margin: 0;
}

.contact-us__list li {
  flex: 0 1 300px;
  padding: 1.5rem 0;
  margin: auto;

  font-size: var(--fs-600);

  background-color: var(--blue);
  border-radius: 5px;
}

.contact-us__icon {
  width: 2rem;

  filter: invert(100%) sepia(0%) saturate(1321%) hue-rotate(85deg) brightness(105%) contrast(109%);
}

.contact-us__list li:nth-of-type(1) .contact-us__icon {
  align-self: center;
}

.contact-us__link {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
}

footer {
  background-image: url("/src/header.jpg");
  background-size: cover;
}

.footer__section {
  justify-content: space-between;
}

.footer__logo {
  width: 350px;
  height: 250px;
  object-fit: contain;
}

footer ul {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 0;
}

footer li {
  list-style: none;
  text-align: center;
}

footer a {
  font-size: var(--fs-600);
  font-family: var(--ff-sans-normal);
  font-weight: 700;
  color: white;
  text-decoration: none;
}

footer a:visited {
  color: white;
}

.footer__section li > a:hover {
  border-bottom: 3px solid white;
}

@media (max-width: 768px) {
  .footer__section {
    flex-direction: column;
    --gap: 1rem;
  }

  .footer__logo {
    height: 175px;
  }
}

@media (min-width: 1024px) {
  .value-list {
    grid-template-columns: repeat(5, 1fr);
    column-gap: 1rem;
  }
}
