/*-- -------------------------- -->
<---       Side By Side         -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  #sidebyside {
    padding: 50px 0;
  }
  #sidebyside .container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  #sidebyside .content {
    order: 2;
    margin: auto;
    margin-top: 4.6875em;
    max-width: 38.1875em;
  }
  #sidebyside .content h2 {
    font-size: 3em;
    margin-bottom: 0.875em;
  }
  #sidebyside .content p {
    margin-bottom: 1.11111111em;
  }
  #sidebyside .content ul {
    padding-left: 1.25em;
    margin-bottom: 1.25em;
  }
  #sidebyside .content ul li {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
  }
  #sidebyside .content ul li img {
    margin-right: 0.625em;
    margin-top: 0.22222222em;
  }
  #sidebyside .content .button-solid {
    margin-top: 1.78571429em;
  }
  #sidebyside .image-box {
    display: block;
    position: relative;
    margin: auto;
    width: 38.1875em;
    height: 53.8125em;
    font-size: min(1.4vw, 1em);
  }
  #sidebyside .image-box:before {
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    background: var(--primary);
    opacity: 1;
    top: 2.5em;
    left: -2.5em;
  }
  #sidebyside .image-box:after {
    content: '';
    position: absolute;
    display: block;
    height: 32.25em;
    width: 28.75em;
    background: url("/images/content-circles.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    top: -14.125em;
    right: -6.8125em;
    z-index: -1;
  }
  #sidebyside .image-box img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}
/* Inbetween */
@media only screen and (min-width: 666px) {
  #sidebyside {
    padding: 6.25em 0;
  }
}
/* Small Desktop */
@media only screen and (min-width: 1300px) {
  #sidebyside {
    padding: 9.375em 0;
  }
  #sidebyside .container {
    max-width: 86.9375em;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  #sidebyside .content {
    margin: 0;
    width: 60%;
  }
  #sidebyside .image-box {
    margin: 0;
    margin-right: 10.625em;
  }
}
/*-- -------------------------- -->
<---   Side By Side Reverse     -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  #sidebyside-reverse {
    padding: 50px 0;
  }
  #sidebyside-reverse .container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  #sidebyside-reverse .content {
    order: 2;
    margin: auto;
    margin-top: 4.6875em;
    max-width: 38.1875em;
  }
  #sidebyside-reverse .content h3 {
    font-size: 1.5em;
    color: var(--primaryDark);
  }
  #sidebyside-reverse .content h2 {
    font-size: 2em;
    margin-bottom: 0.875em;
    color: var(--secondary);
  }
  #sidebyside-reverse .content p {
    margin-bottom: 1.11111111em;
  }
  #sidebyside-reverse .content ul {
    padding-left: 1.25em;
    margin-bottom: 1.25em;
  }
  #sidebyside-reverse .content ul li {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
  }
  #sidebyside-reverse .content ul li img {
    margin-right: 0.625em;
    margin-top: 0.22222222em;
  }
  #sidebyside-reverse .content .button-solid {
    margin-top: 1.78571429em;
  }
  #sidebyside-reverse .image-box {
    display: block;
    position: relative;
    margin: auto;
    width: 38.1875em;
    height: 53.8125em;
    font-size: min(1.4vw, 1em);
  }
  #sidebyside-reverse .image-box img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}
/* Inbetween */
@media only screen and (min-width: 666px) {
  #sidebyside-reverse {
    padding: 6.25em 0;
  }
}
/* Small Desktop */
@media only screen and (min-width: 1300px) {
  #sidebyside-reverse {
    padding: 9.375em 0;
  }
  #sidebyside-reverse .container {
    max-width: 86.9375em;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  #sidebyside-reverse .content {
    margin: 0;
    width: 60%;
    order: 1;
  }
  #sidebyside-reverse .content h3 {
    font-size: 1.375em;
  }
  #sidebyside-reverse .content h2 {
    font-size: 2.25em;
  }
  #sidebyside-reverse .content ul {
    padding-left: 1.25em;
    margin-bottom: 1.25em;
  }
  #sidebyside-reverse .content ul li {
    margin-bottom: 0.75em;
  }
  #sidebyside-reverse .content ul span {
    font-size: 1.25em;
    margin-top: 0.5em;
  }
  #sidebyside-reverse .image-box {
    margin: 0;
    margin-left: 10.625em;
    order: 2;
    width: 25.6875em;
    height: 35.0625em;
  }
}
/*-- -------------------------- -->
<---          About Cards          -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  .about-cards {
    margin: auto;
    position: relative;
    z-index: 100;
    width: 100%;
    max-width: 100%;
    background-color: var(--secondary);
    padding: 3.125em 1.25em;
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.05);
  }
  .about-cards .card {
    display: block;
    width: 100%;
    max-width: 16.0625em;
    margin: auto;
    margin-bottom: 3.125em;
  }
  .about-cards .card:last-of-type {
    margin-bottom: 0;
  }
  .about-cards .card picture {
    background: var(--primary);
    width: 4em;
    height: 4em;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-bottom: 1.4375em;
    border-radius: 10%;
  }
  .about-cards .card picture img {
    width: 3.875em;
    height: 3.875em;
  }
  .about-cards .card h2 {
    text-align: center;
    font-size: 2em;
    line-height: 1.35em;
    font-weight: 700;
    color: var(--primaryDark);
    margin-bottom: 0.2em;
  }
  .about-cards .card h3 {
    text-align: center;
    font-size: 1.25em;
    line-height: 1.35em;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.65em;
  }
  .about-cards .card p {
    text-align: center;
    line-height: 1.33333333em;
    width: 100%;
    opacity: .7;
    color: var(--primaryDark);
  }
}
/* Inbetween */
@media only screen and (min-width: 768px) {
  .about-cards {
    font-size: min(1.8vw, 1em);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 98%;
  }
  .about-cards .card {
    margin: 0;
    max-width: 20.3125em;
    margin-left: 3em;
  }
}
/* Large Desktop */
@media only screen and (min-width: 1300px) {
  .about-cards {
    padding: 2.5em 4.375em;
    width: 100%;
  }
  .about-cards .card {
    max-width: 16.0625em;
    align-items: flex-start;
    text-align: left;
  }
}
/*-- -------------------------- -->
<---          Team                -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  .team {
    background: white;
    margin: auto;
    position: relative;
    z-index: 100;
    width: 100%;
    max-width: 82.5em;
    padding: 3.125em 1.25em;
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.05);
    text-align: center;
    /* Ensures h1 is centered */
    display: flex;
    flex-direction: column;
    /* Ensures h1 is above cards in a column format */
    align-items: center;
    /* Center align the children */
    justify-content: center;
  }
  .team h1 {
    margin-bottom: 1em;
    /* Space between h1 and cards */
    font-size: 2em;
    /* Responsive font size */
    color: var(--primaryShade);
    /* Styling the h1 element */
  }
  .team .container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    /* Ensures cards remain in row and wrap as needed */
    justify-content: space-between;
    /* Spacing between cards */
  }
  .team .container .card {
    display: block;
    width: 100%;
    max-width: 22.3125em;
    margin: auto;
    margin-bottom: 3.125em;
  }
  .team .container .card picture {
    background: var(--primaryDark);
    width: 9.875em;
    height: 9.25em;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-bottom: 1.4375em;
    border-radius: 50%;
  }
  .team .container .card picture img {
    width: 9.25em;
    height: 8.625em;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
  }
  .team .container .card h2 {
    text-align: center;
    font-size: 2em;
    line-height: 1.05em;
    font-weight: 700;
    color: var(--secondary);
    width: 100%;
    margin-bottom: 0.65em;
  }
  .team .container .card h3 {
    text-align: center;
    font-size: 1.3125em;
    line-height: 1.35em;
    font-weight: 700;
    color: var(--primaryShade);
    margin-bottom: 0.65em;
  }
  .team .container .card p {
    text-align: center;
    line-height: 1.33333333em;
    font-size: 1.125em;
    width: 100%;
    opacity: .8;
    color: var(--primaryDark);
  }
}
/* Inbetween */
@media only screen and (min-width: 768px) {
  .team {
    padding: 3.125em 5em;
    min-width: 100%;
    text-align: center;
    /* Ensures h1 is centered */
    display: flex;
    flex-direction: column;
    /* Ensures h1 is above cards in a column format */
    align-items: center;
    /* Center align the children */
    justify-content: center;
  }
  .team h1 {
    margin-bottom: 1.5em;
    /* Space between h1 and cards */
    font-size: 3em;
    /* Responsive font size */
    color: #1a1a1a;
    /* Styling the h1 element */
  }
  .team .container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    /* Ensures cards remain in row and wrap as needed */
    justify-content: space-around;
    /* Spacing between cards */
  }
  .team .container .card {
    max-width: 17.8125em;
    height: 100%;
  }
  .team .container .card h2 {
    text-align: center;
    font-size: 2em;
    line-height: 1.35em;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.25em;
  }
  .team .container .card h3 {
    text-align: center;
    font-size: 1.375em;
    line-height: 1.35em;
    font-weight: 700;
    color: var(--primaryShade);
    margin-bottom: 0.5em;
  }
  .team .container .card p {
    text-align: center;
    line-height: 1.33333333em;
    font-size: 1em;
    width: 100%;
    opacity: .8;
  }
}
/* Large Desktop */
@media only screen and (min-width: 1300px) {
  .team {
    padding: 3.125em 5em;
    min-width: 100%;
    text-align: center;
    /* Ensures h1 is centered */
    display: flex;
    flex-direction: column;
    /* Ensures h1 is above cards in a column format */
    align-items: center;
    /* Center align the children */
    justify-content: center;
  }
  .team h1 {
    margin-bottom: 1.5em;
    /* Space between h1 and cards */
    font-size: 3em;
    /* Responsive font size */
    color: var(--secondary);
    /* Styling the h1 element */
  }
  .team .container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    /* Ensures cards remain in row and wrap as needed */
    justify-content: space-around;
    /* Spacing between cards */
  }
  .team .container .card {
    max-width: 17.8125em;
    height: 100%;
  }
  .team .container .card h2 {
    text-align: center;
    font-size: 2em;
    line-height: 1.35em;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.25em;
  }
  .team .container .card h3 {
    text-align: center;
    font-size: 1.375em;
    line-height: 1.35em;
    font-weight: 700;
    color: var(--primaryShade);
    margin-bottom: 0.5em;
  }
  .team .container .card p {
    text-align: center;
    line-height: 1.33333333em;
    font-size: 1em;
    width: 100%;
    opacity: .8;
  }
}
/*-- -------------------------- -->
<---        About Section        -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  #triplet {
    padding: 50px 0;
    background: url("../images/water-background.png") no-repeat center center;
    background-size: cover;
  }
  #triplet .container {
    width: 92%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5em;
    /* Left & Right share same .content wrapper */
    /* Center Image */
  }
  #triplet .container .content {
    width: 100%;
    max-width: 38.1875em;
    margin: auto;
    /* ONLY applies on the left column */
  }
  #triplet .container .content .label {
    font-size: 1.25em;
    color: var(--primaryShade);
    font-style: italic;
    margin-bottom: 0.75em;
  }
  #triplet .container .content .title {
    font-size: 2em;
    color: #fff;
    margin-bottom: 1em;
    line-height: 1.2;
  }
  #triplet .container .content .description {
    font-size: 1em;
    color: #fff;
    margin-bottom: 1.5em;
    line-height: 1.5;
  }
  #triplet .container .content ul.accordion {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    list-style: none;
    padding: 0.75em;
    margin: 0 0 1.5em;
  }
  #triplet .container .content ul.accordion li {
    position: relative;
    font-size: 1.125em;
    color: #fff;
    padding: 0.75em 0 0.75em 1.5em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
  }
  #triplet .container .content ul.accordion li::before {
    content: '★';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #ffa321;
  }
  #triplet .container .content ul.accordion li:last-child {
    border-bottom: none;
  }
  #triplet .container .image-box {
    width: 100%;
    max-width: 25em;
    margin: 20px auto;
  }
  #triplet .container .image-box img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 500px 500px 0 0;
  }
  #triplet .container .video-box {
    position: relative;
    margin-bottom: 1.5em;
  }
  #triplet .container .video-box video.teaser-video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0.25em;
  }
  #triplet .container .stat-box .count {
    font-size: 3em;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.5em;
  }
  #triplet .container .stat-box p {
    font-size: 1.5em;
    color: var(--primaryShade);
    margin: 0;
  }
}
/* Tablet */
@media only screen and (min-width: 48em) {
  #triplet {
    padding: 50px 0;
  }
  #triplet .container {
    flex-direction: row;
    align-items: center;
    text-align: left;
    /* Left column */
    /* Center image */
    /* Right column */
  }
  #triplet .container .content:first-child {
    flex: 0 0 30%;
    max-width: 30%;
    margin: 0;
  }
  #triplet .container .image-box {
    flex: 0 0 30%;
    max-width: 30%;
    margin: 0;
  }
  #triplet .container .content:last-child {
    flex: 0 0 30%;
    max-width: 30%;
    margin: 0;
    text-align: left;
  }
  #triplet .container .content:last-child .subtitle {
    font-size: 1.375em;
  }
  #triplet .container .content:last-child .title {
    font-size: 2.25em;
  }
  #triplet .container .content:last-child .description {
    font-size: 1.125em;
  }
  #triplet .container .content:last-child .video-box {
    position: relative;
    margin-bottom: 1.5em;
  }
  #triplet .container .content:last-child .video-box video.teaser-video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0.25em;
  }
  #triplet .container .content:last-child .stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2em 1.5em;
  }
  #triplet .container .content:last-child .stats-container .stat-box .count {
    font-size: 2em;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.25em;
  }
  #triplet .container .content:last-child .stats-container .stat-box p {
    font-size: 0.875em;
    color: var(--primaryShade);
    margin: 0;
  }
}
/* Desktop */
@media only screen and (min-width: 1300px) {
  #triplet {
    padding: 3.125em 0;
  }
  #triplet .container {
    justify-content: space-between;
    /* same 30% widths as tablet */
  }
  #triplet .container .content:first-child,
  #triplet .container .image-box,
  #triplet .container .content:last-child {
    flex: 0 0 30%;
    max-width: 30%;
  }
  #triplet .container .content:last-child .subtitle {
    font-size: 1.5em;
  }
  #triplet .container .content:last-child .title {
    font-size: 2.5em;
  }
  #triplet .container .content:last-child .description {
    font-size: 1.25em;
  }
  #triplet .container .content:last-child .video-box {
    margin-bottom: 2em;
  }
  #triplet .container .content:last-child .stats-container .stat-box .count {
    font-size: 2.25em;
  }
}
/*-- -------------------------- -->
<---     Marine Services Section   -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  #services {
    padding: 3.125em 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)), url("../images/water-background.png") no-repeat center center;
    background-size: cover;
  }
  #services .container {
    width: 92%;
    margin: auto;
    text-align: center;
  }
  #services .container .header {
    font-size: 2.25em;
    color: #fff;
    margin-bottom: 2em;
  }
  #services .container .card-container {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
  }
  #services .card {
    background-color: var(--primaryDark);
    border-radius: 0.5em;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
  }
  #services .card picture {
    display: block;
    width: 100%;
  }
  #services .card picture img {
    display: block;
    width: 100%;
    height: 17.5em;
    object-fit: cover;
  }
  #services .card .card-title {
    font-size: 2em;
    color: #ffa321;
    margin: 1em 0;
    padding-left: 1.5em;
  }
  #services .card ul.features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5em;
    width: 100%;
    padding-left: 1.5em;
  }
  #services .card ul.features li {
    font-size: 1em;
    color: #fff;
    margin-bottom: 0.5em;
    position: relative;
    padding-left: 1.5em;
  }
  #services .card ul.features li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #ffa321;
  }
  #services .card .button-solid {
    margin-top: auto;
  }
}
/* Tablet */
@media only screen and (min-width: 48em) {
  #services .container .card-container {
    flex-direction: column;
  }
}
/* Desktop */
@media only screen and (min-width: 1300px) {
  #services .container .card-container {
    flex-direction: row;
    justify-content: space-between;
  }
  #services .container .card-container .card {
    flex: 1 1 30%;
  }
}
