/*-- -------------------------- */
/*           Landing           */
/* -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  #hero {
    font-size: inherit;
    padding-bottom: 6.25em;
    padding-top: 9.375em;
    position: relative;
    z-index: 1;
  }
  #hero:before {
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    background: #000;
    opacity: .55;
    top: 0;
    left: 0;
    z-index: -10;
  }
  #hero #hero-video {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: -11;
  }
  #hero picture {
    display: none;
  }
  #hero .hero-content {
    width: 96%;
    max-width: 71.5em;
    margin: auto;
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0;
  }
  #hero .heroText {
    width: 100%;
    margin: auto;
    max-width: 52.5em;
  }
  #hero h1 {
    font-weight: bold;
    font-size: 1.75em;
    color: #fff;
    text-align: left;
    line-height: 1.2;
    margin: auto;
    width: 90%;
    max-width: 12.5em;
    margin-bottom: 1.4375em;
    position: relative;
  }
  #hero h1:before {
    content: '';
    position: absolute;
    display: block;
    height: 0.0625em;
    width: 100%;
    background: var(--primary);
    opacity: 1;
    bottom: -0.25em;
    left: 50%;
    transform: translateX(-50%);
  }
  #hero p {
    font-size: 1em;
    line-height: 1.55em;
    margin: auto;
    margin-bottom: 1.72222222em;
    color: #fff;
    width: 90%;
    text-align: left;
    max-width: 34.27777778em;
    opacity: 1;
  }
  #hero .button-solid {
    margin: auto;
    display: inline-block;
    width: auto;
  }
}
/* Tablet */
@media only screen and (min-width: 48em) {
  #hero {
    padding: 12.5em 0 18.75em 0;
    z-index: 1;
    overflow: hidden;
  }
  #hero .hero-content {
    display: flex;
    justify-content: space-between;
    position: relative;
  }
}
/* Small Desktop */
@media only screen and (min-width: 1300px) {
  #hero {
    padding-top: 17.0625em;
    padding-bottom: 19.1875em;
  }
  #hero h1 {
    font-size: min(9vw, 3em);
    line-height: 1.203125;
  }
  #hero p {
    font-size: 1.125em;
  }
  #hero picture {
    display: none;
  }
}
/*-- -------------------------- */
/*          Services           */
/* -------------------------- -*/
@media only screen and (min-width: 0em) {
  .services {
    position: relative;
    background: url('../images/service-background.png') no-repeat center center;
    background-size: cover;
    padding: 3.125em 1.25em;
    z-index: 1;
    overflow: visible;
    margin-top: 0;
  }
  .services .services-grid {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.875em;
    width: 100%;
    max-width: 82.5em;
    margin: 0 auto 2.5em;
  }
  .services .services-grid.second-row {
    margin-top: 0.625em;
  }
  .services .services-grid .card {
    background: white;
    padding: 3.125em 1.875em;
    border-radius: 1.25em;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    text-align: center;
    min-height: 25em;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .services .services-grid .card picture {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.25em;
  }
  .services .services-grid .card picture img {
    width: 4em;
    height: 4em;
  }
  .services .services-grid .card h2 {
    font-size: 1.5em;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75em;
  }
  .services .services-grid .card p {
    font-size: 1em;
    color: #555;
    line-height: 1.625em;
    opacity: 0.8;
    margin-bottom: 1.25em;
    flex-grow: 1;
  }
  .services .services-grid .card .card-btn {
    display: inline-block;
    padding: 0.75em 1.5em;
    font-size: 1em;
    color: #ffffff;
    background-color: #0077b6;
    border-radius: 0.5em;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
  }
  .services .services-grid .card .card-btn:hover {
    background-color: #005f91;
  }
}
@media only screen and (min-width: 768px) {
  .services {
    font-size: min(1.8vw, 1em);
    margin-top: -3em;
  }
  .services .services-grid {
    flex-direction: row;
    justify-content: space-between;
  }
  .services .services-grid:first-of-type .card {
    margin-top: -11.25em;
  }
  .services .services-grid .card {
    width: 100%;
    max-width: 20.3125em;
    height: 31.25em;
    min-height: unset;
  }
}
@media only screen and (min-width: 1300px) {
  .services {
    padding: 5em 5em;
  }
}
/*-- -------------------------- -->
<---          Pricing          -->
<--- -------------------------- -*/
@media only screen and (min-width: 0em) {
  #pricing {
    border-radius: 0.3125em;
    margin: auto;
    margin-top: 1em;
    position: relative;
    z-index: 100;
    background: white;
    width: 90%;
    max-width: 82.5em;
    padding: 2.5em 1em;
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 2.5em;
    background: url('../images/pricing-container.png') no-repeat center center;
    background-size: cover;
  }
  #pricing .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  #pricing .container h1 {
    font-size: 1.625em;
    line-height: 2em;
    font-weight: 700;
    color: black;
    margin-bottom: 0.75em;
    text-align: center;
  }
  #pricing .container h2 {
    font-size: 0.875em;
    line-height: 1.5em;
    font-weight: 700;
    color: var(--primaryShade);
    margin-bottom: 0.75em;
    text-align: center;
  }
  #pricing .pricing-content {
    display: none;
  }
  #pricing .pricing-content .pricing-sidebyside {
    padding: 1.25em 0;
  }
  #pricing .pricing-content .pricing-sidebyside .pricing-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }
  #pricing .pricing-content .pricing-sidebyside .content {
    order: 2;
    margin: auto;
    margin-top: 1em;
    max-width: 38.1875em;
  }
  #pricing .pricing-content .pricing-sidebyside .content h2 {
    font-size: 1.5em;
    margin-bottom: 1em;
  }
  #pricing .pricing-content .pricing-sidebyside .content p {
    font-size: 0.875em;
    margin-bottom: 1.125em;
  }
  #pricing .pricing-content .pricing-sidebyside .content ul {
    padding-left: 0;
    margin-bottom: 1.25em;
  }
  #pricing .pricing-content .pricing-sidebyside .content ul li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.625em;
    list-style: none;
    font-size: 0.875em;
  }
  #pricing .pricing-content .pricing-sidebyside .content ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 600;
    font-size: 1em;
  }
  #pricing .pricing-content .pricing-sidebyside .content ul li.no::before {
    content: '✘';
    color: red;
  }
  #pricing .pricing-content .pricing-sidebyside .content .price-btn {
    display: inline-block;
    padding: 0.625em 1.25em;
    font-size: 0.875em;
    color: #ffffff;
    background-color: #0077b6;
    border-radius: 0.5em;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
  }
  #pricing .pricing-content .pricing-sidebyside .content .price-btn:hover {
    background-color: #005f91;
  }
  #pricing .pricing-content .pricing-sidebyside .image-box {
    display: block;
    position: relative;
    margin: auto;
    width: 37.5em;
    height: 37.5em;
    font-size: min(1.4vw, 1em);
    margin-top: -2em;
  }
  #pricing .pricing-content .pricing-sidebyside .image-box img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: contain;
  }
  #pricing .pricing-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: auto;
    margin-bottom: 1.875em;
    margin-top: -2em;
  }
  #pricing .pricing-row:last-of-type {
    margin-bottom: 0;
  }
  #pricing .pricing-row .pricing-button {
    width: 15em;
    height: 3.625em;
    padding: 1em;
    margin-top: 1.5em;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 0.25em;
    font-size: 0.875em;
    transition: transform 0.3s ease;
  }
  #pricing .pricing-row .pricing-button:hover {
    transform: scale(1.1);
  }
  #pricing .pricing-row .pricing-button.active {
    border: 3px solid var(--primaryShade);
  }
}
/* Tablet */
@media only screen and (min-width: 768px) {
  #pricing {
    padding: 3.75em 2em;
  }
  #pricing .container h1 {
    font-size: 2em;
  }
  #pricing .container h2 {
    font-size: 1em;
  }
  #pricing .pricing-content .pricing-sidebyside .pricing-container {
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }
  #pricing .pricing-content .pricing-sidebyside .image-box {
    width: 28.8125em;
    height: 28.8125em;
  }
}
/* Desktop */
@media only screen and (min-width: 1300px) {
  #pricing {
    margin-top: -6.6875em;
    padding: 5em 3em;
  }
  #pricing .pricing-content .pricing-sidebyside .pricing-container {
    flex-direction: row;
  }
  #pricing .pricing-content .pricing-sidebyside .content h2 {
    font-size: 2em;
  }
  #pricing .pricing-content .pricing-sidebyside .content p {
    font-size: 1em;
  }
  #pricing .pricing-content .pricing-sidebyside .content ul li {
    font-size: 0.9375em;
  }
  #pricing .pricing-content .pricing-sidebyside .image-box {
    width: 41.3125em;
    height: 41.3125em;
  }
  #pricing .pricing-row {
    flex-direction: row;
    justify-content: center;
  }
  #pricing .pricing-row .pricing-button {
    margin: 0 1em;
  }
}
/* Dark mode */
@media only screen and (min-width: 0em) {
  body.dark-mode #services {
    background: var(--medium);
  }
  body.dark-mode #services picture {
    background: var(--primaryDark);
  }
  body.dark-mode #services h2 {
    color: #fff;
    font-weight: bold;
  }
}
/*-- -------------------------- -->
<---           Reviews          -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  #reviews {
    padding-top: 1em;
    padding-bottom: 1em;
    margin: auto;
  }
  #reviews .container {
    width: 96%;
    max-width: 82.5em;
  }
  #reviews .section-heading {
    font-size: 2em;
    text-align: center;
    margin-bottom: 2em;
    font-weight: 800;
    color: var(--primaryShade);
  }
  #reviews .reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 3.125em;
  }
  #reviews .review {
    padding: 4em 1.875em 1.125em 1.875em;
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 25.625em;
    margin: auto;
    border-radius: 0.3125em;
    position: relative;
    background: #fff;
    display: flex;
    flex-direction: column;
  }
  #reviews .review p {
    line-height: 1.33333333;
    margin-bottom: 1.55555556em;
    text-align: left;
  }
  #reviews .review .star-group {
    border-top: 1px solid #E7E7E7;
    padding-top: 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    margin-top: auto;
  }
  #reviews .review .star-group .name {
    color: #1A1A1A;
    line-height: 1.33333333em;
    text-align: left;
    font-weight: bold;
    display: block;
  }
  #reviews .review .star-group img {
    display: block;
    width: 5.6875em;
    height: 0.9375em;
    margin: 0;
  }
}
/* Desktop */
@media only screen and (min-width: 64em) {
  #reviews .section-heading {
    font-size: 3em;
    margin-bottom: 2em;
    text-align: center;
  }
  #reviews .reviews-grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em;
  }
  #reviews .review {
    margin: 0;
  }
}
/*-- -------------------------- -->
<---    Final Call To Action    -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  #cta {
    position: relative;
    padding: 3.125em 0;
  }
  #cta:before {
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    background: #000;
    opacity: .7;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #cta .container {
    text-align: center;
  }
  #cta picture {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -2;
  }
  #cta picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  #cta .title {
    font-weight: 900;
    font-size: min(9vw, 3em);
    line-height: 1.20833333;
    color: #fff;
    position: relative;
    margin-bottom: 0.75em;
    text-align: center;
  }
  #cta p {
    color: #fff;
    text-align: center;
    opacity: 1;
    margin: auto;
    margin-bottom: 2em;
    width: 96%;
    max-width: 33.22222222em;
  }
}
/* Small Desktop */
@media only screen and (min-width: 64em) {
  #cta {
    padding: 10.5em 0;
  }
}
/* Large Desktop */
@media only screen and (min-width: 1300px) {
  #cta {
    position: relative;
    margin-top: 6.25em;
  }
  #cta:before {
    display: none;
  }
  #cta:after {
    content: '';
    position: absolute;
    display: block;
    height: 69.25em;
    width: 125em;
    opacity: 1;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -3;
  }
  #cta .container {
    width: 90.0625%;
    margin: auto;
  }
  #cta picture {
    width: 90.0625%;
    left: 50%;
    transform: translateX(-50%);
  }
  #cta picture:before {
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    background: #000;
    opacity: .7;
    top: 0;
    left: 0;
    z-index: 1;
  }
}
/* Dark Mode */
@media only screen and (min-width: 0em) {
  body.dark-mode #cta:after {
    display: none;
  }
}
