:root {
    --primary-color: hsl(202, 42%, 27%);
    --secondary-color: hsl(191, 88%, 35%);
    --default-text-color: hsl(0, 0%, 20%);
    --grayed-text-color: hsl(180, 5%, 64%);

    --header-font: "Lora", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    --body-font: "Nunito", "Helvetica Neue", "Helvetica", "Arial", sans-serif;

    --sticky-header-height: 65px;
}

* {
    padding: 0;
    margin: 0;
    padding-inline-start: 0;
    list-style-position: inside;
}

html {
    font-size: 4px;
}

body {
    font-family: var(--body-font);
    font-size: 6rem;
    color: var(--default-text-color);
    text-align: center;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--header-font);
    font-weight: normal;
}

.h-type-1 {
    font-size: 13rem;
}

.h-type-2 {
    font-size: 10rem;
}

.h-type-3 {
    font-size: 7rem;
}

.h-type-4 {
    font-size: 6rem;
}

.h-type-5 {
    font-size: 5rem;
}

.h-type-6 {
    font-size: 3rem;
    font-family: var(--body-font);
    font-weight: 800;
}

a {
    color: unset;
}

ul {
    margin: 0 auto;
}

li {
    text-align: left;
}

.text-svg {
    height: 1em;
    width: 1em;
    vertical-align: -0.165em;
}

header h1 {
    margin: 10px 0;
}

header a {
    text-decoration: none;
}

header li {
    display: inline-block;
    text-align: center;
}

header .header-contact-info li {
    font-size: 15px;
    color: var(--grayed-text-color);
}

header .header-contact-info li + li::before {
    content: "•";
    color: var(--grayed-text-color);
    margin: 0 0.5em;
    font-size: 1em;
}

header .header-contact-info a {
    color: var(--secondary-color);
}

header .header-contact-info a:hover {
    text-decoration: underline;
}

header nav a {
    color: var(--default-text-color);
    margin: 20px;
}

.sticky-header {
    display: flex;
    flex-direction: column;
    position: fixed;
    justify-content: space-evenly;
    height: 65px;
    width: 100%;
    background-color: white;
    z-index: 2;
    transition: top 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.sticky-header-is-visible {
    top: 0px;
    opacity: 100%;
}

.sticky-header-is-invisible {
    top: calc(var(--sticky-header-height) * -1.1);
    opacity: 0%;
}

.short-header-buttons .button:hover, .top-header-buttons .button:hover {
    filter: none;
}

.short-header-buttons, .top-header-buttons {
    position: absolute;
    top: 13px;
    right: 30px;
}

.short-header .short-header-buttons {
    position: absolute;
    top: auto;
}

a:hover {
    color: var(--secondary-color)
}

.active-page {
    color: var(--secondary-color);
}

.top-header {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    height: 210px;
    position: relative;
    background-color: white;
}

.top-header-top-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.top-header img {
    width: min(320px, 75%);
}
    
.top-header-information {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 90%;
}

.top-header-information ul {
    max-width: 100%;
}

.top-header nav a {
    margin: 20px;
}

.short-header {
    height: 65px;
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 2;
    border-bottom: rgb(200, 200, 200) solid 1px;
}

.short-header .short-header-left-side {
    display: flex;
    align-items: center;
    position: absolute;
    left: 30px;
    gap: 20px;
}

.short-header .short-header-left-side img {
    width: 180px;
}

.short-header .header-contact-info {
    display: flex;
    flex-direction: column;
}

.short-header .header-contact-info li::before, .short-header .header-contact-info li::after {
    content: none; 
}

.short-header .header-contact-info li:first-child {
    font-size: 9.8px;
}

.short-header-line-2 a:first-child::after {
   content: " \2022 ";
    margin: 0 8px;
    font-weight: bold;
    color: #888;
}

.two-buttons-group {
    display: flex;
    justify-content: center;
    flex-wrap: no-wrap;
    gap: 20px;
}

.jumbotron {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.small-jumbotron {
    width: 100%;
    height: 45vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.jumbotron-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    height: 100%;
}

.jumbotron .video-background {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.rounded-image {
    border-radius: 10px;
}

.paragraph-image-side {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5%;
}

.paragraph-image-side p {
    text-align: center;
}

.paragraph-image-side img {
    width: 300px;
}

.image-line {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 35px;
    width: min(100%, 1300px);
}

.image-line figure {
    width: min(386px, 90%);
}

.image-line figure figcaption h3 {
    font-size: clamp(1em, 1.5vw, 6rem);
}

.image-line img {
    width: 100%;
    height: auto;
}

.vertical-box-image-end p {
    margin: 0 5%;
}

.block {
    display: flex;
    flex-direction: column;
    gap: 3vh;
    margin: 5% 15%;
    padding: 25px
}

.backdrop {
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    filter: drop-shadow(0px 0px 10px hsla(0, 0%, 0%, 0.5));
}

.image-container {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.hover-zoom {
    transition: transform 0.3s ease;
}

.hover-zoom:hover {
    transform: scale(1.2);
}

.button {
    font-family: var(--body-font);
    font-weight: 700;
    border: none;
    text-decoration: none;
}

.button a:visited {
    text-decoration: none;
}

.button a {
    vertical-align: middle;
}


.button:hover {
    cursor: pointer;
    filter: drop-shadow(0px 0px 10px hsla(0, 0%, 0%, 0.5));
}

.small-button {
    padding: 10px 20px;
    font-size: 14px;
}

.medium-button {
    width: 300px;
    height: 52px;
    line-height: 52px;
    padding: 10px 20px;
    font-size: 17px;
}

.button-1 {
    color: var(--primary-color);
    background-color: white;
}

.button-1:hover {
    color: var(--primary-color);
}

.button-2 {
    color: white;
    background-color: var(--primary-color);
}

.button-2:hover, .button-3:hover {
    color: white;
}

.button-3 {
    color: white;
    background-color: var(--secondary-color);
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
    background-color: rgb(87, 87, 87);
}

.popup-container {
    position: fixed; /* Ensures it stays in the same place even when scrolling */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    display: none; /* Initially hide the popup */
    justify-content: center; /* Center the content horizontally */
    align-items: center; /* Center the content vertically */
    z-index: 999; /* Ensures the popup is on top of other content */
}

.popup-container.show {
    display: flex; /* Makes the popup visible */
}

.popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 700px;
    height: 250px;
}

.our-commitment-to-you.block {
    margin-top: 0;
    width: 75%;
}

@media (max-width: 1500px) {
    .short-header-left-side {
        display: none !important;
    }
}

@media (max-width: 1250px) {
    .short-header {
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: center;
    }

    .short-header .short-header-buttons {
       position: static; 
       margin-right: 30px;
    }

    .short-header nav {
        margin-left: 30px;
    }

    .paragraph-image-side {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin: 20px 0;
    }

    .paragraph-image-side img {
        width: 80%;
    }

    .paragraph-image-side .paragraph-side {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .paragraph-image-side .paragraph-side p, .paragraph-image-side .paragraph-side h3 {
        text-align: center;
    }
}

@media (max-width: 900px) {
    .short-header {
        justify-content: center;
    }

    .short-header-buttons, .top-header-buttons {
       display: none;
    }

    .short-header nav {
        margin-left: 0;
    }
}

@media (max-width: 500px) {
    .short-header nav, .top-header nav {
        font-size: 5vw;
    }
    .short-header nav a, .top-header nav a {
        margin: 3.5vw
    }
}
