:root {
    --secondary-color: #0973BA;
    --tertiary-color: #E36525;
    --header-height: 80px;
}

* {
    margin: 0;
    font-family: sans-serif
}

section, main {
    padding: 60px 0;
}

.section-heading {
    margin: 0 0 48px;
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    color: var(--secondary-color);
}

.section-subheading {
    font-size: 1.25rem;
    color: #777;
}

a {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 768px) {
    :root {
	--header-height: 60px;
    }

    html {
	font-size: 12px;
    }

    section, main {
	padding: 40px 8px;
    }

    .section-subheading {
	font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    :root {
	--header-height: 50px;
    }
}

/* Button styles */

.cta-button {
    width: fit-content;
    padding: 12px 28px;
    display: block;
    background-color: var(--tertiary-color);
    color: #FFF;
    font-size: 1rem;
    font-weight: 900;
    border-radius: 4px;
    border: none;
}

@media (max-width: 768px) {
    .cta-button {
	padding: 8px 16px;
    }
}

@media (max-width: 425px) {
    .cta-button {
	padding: 8px 16px;
    }
}

/* Header styles */

header {
    padding: 0 5vw;
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #FFF;
    z-index: 10;
}

.header-logo-link {
    display: flex;
}

.header-nav-desktop {
    column-gap: 2vw;
}

.header-nav-desktop, .header-nav-mobile {
    display: flex;
    align-items: center;
}

.header-nav-desktop > a {
    transition: 250ms;
}

.header-nav-desktop > a, .nav-dropdown > p {
    text-wrap: nowrap;
    font-size: 16px;
    user-select: none;
}

.header-nav-desktop > a, .nav-dropdown {
    padding: 12px;
    border-radius: 8px;
}

.header-logo {
    height: var(--header-height);
}

.nav-dropdown {
    cursor: default;
    position: relative;
    transition: 250ms;
}

.header-nav-desktop > a:hover, .nav-dropdown:hover {
    background-color: #E4E7FF;
}

.nav-dropdown:hover > .nav-dropdown-list {
    opacity: 1;
    pointer-events: auto;
}

.nav-dropdown-list {
    max-height: 200px;
    padding: 8px;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    overflow-y: auto;
    background-color: #FFF;
    border: 1px solid #DDD;
    border-radius: 8px;
    pointer-events: none;
    transition: 250ms;
}

.nav-dropdown-list > a {
    padding: 8px;
    display: block;
    text-wrap: nowrap;
    border-radius: 4px;
    transition: 350ms;
}

.nav-dropdown-list > a:hover {
    background-color: #E4E7FF;
    color: var(--secondary-color);
}

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

@media (max-width: 768px) {
    header {
	padding: 0;
    }

    .header-nav-desktop > a, .nav-dropdown > p {
	font-size: 1.125rem;
    }
}

@media (max-width: 600px) {
    header {
	padding: 0 5vw;
    }

    .header-nav-desktop {
	display: none;
    }

    .header-nav-mobile {
	display: block;
	position: relative;
    }

    .nav-mobile-dropdown {
	--mobile-dropdown-padding-vertical: 12px;
	width: 164px;
	max-height: calc(90vh - var(--header-height) - (2 * var(--mobile-dropdown-padding-vertical)));
	padding: var(--mobile-dropdown-padding-vertical) 24px;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	top: 39px;
	right: 0;
	background-color: #FFF;
	border: 1px solid #DDD;
	border-radius: 8px;
	font-size: 1.5em;
	overflow-y: auto;
	transition: 250ms;
    }

    .nav-mobile-dropdown-expanded {
	opacity: 1;
	pointer-events: auto;
    }

    .nav-mobile-dropdown-item {
	padding: 8px 0;
	display: block;
	text-wrap: nowrap;
    }

    .nav-mobile-service-dropdown-container, .nav-mobile-service-areas-dropdown-container {
	height: 0;
	opacity: 0;
	pointer-events: none;
	transition: 200ms;
    }

    .nav-mobile-service-dropdown-expanded {
	height: 148px;
	opacity: 1;
	pointer-events: auto;
    }

    .nav-mobile-service-areas-dropdown-expanded {
	height: 368px;
	opacity: 1;
	pointer-events: auto;
    }

    .nav-mobile-nested-dropdown-item {
	display: none;
	padding: 8px 0 8px 8px;
	text-wrap: nowrap;
    }

    .nav-mobile-service-dropdown-expanded > .nav-mobile-nested-dropdown-item {
	display: block;
    }

    .nav-mobile-service-areas-dropdown-expanded > .nav-mobile-nested-dropdown-item {
	display: block;
    }
}

/* Footer styles */

footer {
    padding: 48px 5vw;
    background-color: #F0F0F0;
    display: flex;
    justify-content: space-between;
    font-size: 1em;
}

footer a {
    display: block;
}

.footer-left {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}

.footer-logo {
    width: 200px;
}

.footer-call-container {
    display: flex;
    align-items: center;
}

.footer-call-container > svg {
    width: 24px;
    color: #000;
}

.footer-google-rating-wrapper {
    display: flex;
    align-items: center;
    column-gap: 8px;
}

.footer-google-review-count {
    color: #555;
}

.footer-sitemap {
    width: 70%;
    display: flex;
    justify-content: space-between;
}

.footer-page-container {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}

.footer-page-headings {
    font-weight: 600;
}

@media (max-width: 768px) {
    footer {
	padding-left: 8px;
	padding-right: 8px;
	padding: 24px 8px;
    }
}

@media (max-width: 600px) {
    footer {
	flex-direction: column;
	align-items: center;
    }

    .footer-left {
	margin: 0 0 20px;
	align-items: center;
	row-gap: 20px;
    }

    .footer-sitemap {
	width: fit-content;
	flex-direction: column;
    }

    .footer-page-container {
	margin: 0 0 20px;
    }
}

/* Form section styles */

.form-section {
    padding-left: 8px;
    padding-right: 8px;
}

.form {
    width: fit-content;
    margin: 0 auto;
    font-size: 20px;
    font-weight: 600;
}

.form > label {
    margin: 0 0 16px;
    display: inline-block;
}

.form > input {
    height: 34px;
    margin: 0 0 48px;
    box-sizing: border-box;
    font-size: 16px;
    border: 2px solid #E5E5E5;
    border-radius: 4px;
}

.form > textarea {
    width: 100%;
    height: 120px;
    box-sizing: border-box;
    font-size: 16px;
    border: 2px solid #E5E5E5;
    border-radius: 4px;
}

.required-field-cue {
    border-color: #F55 !important;
}

.required-field-cue::placeholder {
    color: #F55;
}

.form > button {
    margin: 48px auto 0;
    cursor: pointer;
}

.confirmation-container {
    width: fit-content;
    margin: 0 auto;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
}

@media (max-width: 600px) {
    .form > input {
	width: 100%;
	margin: 0 0 16px;
    }
}

/* Secondary hero section styles */

.secondary-hero-section {
    height: 400px;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.secondary-hero-img {
    width: 100%;
    position: absolute;
    top: calc((-0.709 * 100vw) + 301.478px);
    z-index: -1;
}

.secondary-hero-img-overlay {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 0 0 0 8vw;
    display: flex;
    flex-direction: column;
    row-gap: 32px;
    justify-content: center;
    position: absolute;
    top: 0;
    background-color: rgba(17, 17, 17, 0.7);
}

.secondary-hero-section .section-heading {
    margin: 0;
    text-transform: uppercase;
    font-size: 3.5rem;
    font-weight: 700;
    color: #FFF;
    text-align: left;
}

.secondary-hero-section button {
    width: fit-content;
}

@media (max-width: 425px) {
    .secondary-hero-section {
	height: 300px;
    }

    .secondary-hero-img {
	top: -40px;
    }

    .secondary-hero-img-overlay {
	padding: 28px 0 28px 8px;
	justify-content: space-between;
	row-gap: 0;
    }

    .secondary-hero-section .section-heading {
	font-size: 3rem;
    }
}
