*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    color: #222;
    -webkit-tap-highlight-color: #222;
}

::selection {
    color: white;
    text-shadow: none;
    background: #222;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

p {
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 20px;
}

a {
    color: #F05F40;
    transition: color 0.35s;
}

a:hover,
a:focus {
    color: #d9432a;
}

hr {
    border: none;
    border-top: 3px solid #F05F40;
    max-width: 50px;
    margin: 15px auto 25px;
}

hr.light {
    border-color: white;
}

hr.primary {
    border-color: #F05F40;
}

span.name {
    font-weight: 700;
}

.text-left {
    text-align: left;
}

.text-muted {
    color: #777;
}

.text-primary {
    color: #F05F40;
}

/* Layout */

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.container.narrow {
    max-width: 700px;
}

section {
    padding: 60px 0;
}

.bg-primary {
    background-color: #F05F40;
    color: white;
}

.section-heading {
    margin-top: 0;
    font-size: 28px;
}

/* Navigation */

#mainNav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, .3);
    transition: all 0.35s;
}

#mainNav.scrolled {
    background-color: white;
    border-bottom-color: rgba(34, 34, 34, .3);
}

.nav-brand {
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 16px;
    color: rgba(255, 255, 255, .7);
    transition: color 0.35s;
}

.nav-brand:hover {
    color: white;
}

#mainNav.scrolled .nav-brand {
    color: #F05F40;
}

#mainNav.scrolled .nav-brand:hover {
    color: #d9432a;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255, 255, 255, .7);
    transition: background 0.35s;
}

#mainNav.scrolled .nav-toggle span {
    background: #222;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 5px;
}

.nav-links a {
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    color: rgba(255, 255, 255, .7);
    padding: 8px 12px;
    transition: color 0.35s;
}

.nav-links a:hover {
    color: white;
}

#mainNav.scrolled .nav-links a {
    color: #222;
}

#mainNav.scrolled .nav-links a:hover {
    color: #F05F40;
}

@media (max-width: 767px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        border-bottom: 1px solid rgba(34, 34, 34, .3);
        padding: 10px 0;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        color: #222;
        padding: 10px 20px;
        display: block;
    }

    .nav-links a:hover {
        color: #F05F40;
    }

    #mainNav {
        background-color: white;
        border-bottom-color: rgba(34, 34, 34, .3);
    }

    #mainNav .nav-brand {
        color: #F05F40;
    }

    #mainNav .nav-toggle span {
        background: #222;
    }
}

/* Header */

header {
    position: relative;
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-image: url('img/header_2.jpg');
    color: white;
}

header .header-content {
    height: 475px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

header .header-content-inner {
    padding: 100px 1em 0;
    text-align: left;
}

header h2 {
    font-size: 40px;
}

header h1 {
    font-size: 60px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

header h3 {
    margin-top: 10px;
    color: rgba(255, 255, 255, .7);
    font-size: 24px;
    line-height: normal;
    font-weight: normal;
}

@media (min-width: 768px) {
    header .header-content {
        position: absolute;
        top: 0;
        left: 0;
        width: 60%;
        height: 0;
        background-color: transparent;
        border-bottom: 500px solid rgba(0, 0, 0, 0.5);
        border-right: 250px solid transparent;
    }

    header .header-content-inner {
        padding: 100px 0 0 120px;
        width: 500px;
    }
}

/* Process grid */

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1100px;
    margin: 30px auto 0;
    padding: 0 20px;
}

@media (min-width: 600px) {
    .process-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {
    .process-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.service-box {
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.service-box i {
    margin-bottom: 15px;
}

.service-box p {
    margin-bottom: 0;
}

/* Buttons */

.btn {
    display: inline-block;
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    padding: 15px 30px;
    border: none;
    border-radius: 300px;
    cursor: pointer;
    background: white;
    color: #222;
    transition: all 0.35s;
}

.btn:hover {
    background: #eee;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Fieldsets */

fieldset {
    border: none;
    padding: 0;
    margin: 0 0 30px;
}

legend {
    font-weight: 700;
    font-size: 20px;
    color: white;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact form */

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
    font-size: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn {
    margin-top: 10px;
}

.form-message {
    margin-top: 15px;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 16px;
    display: none;
}

.form-message.success {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    display: block;
}

.form-message.error {
    background-color: rgba(255, 0, 0, 0.2);
    color: white;
    display: block;
}

/* Address autocomplete */

.address-group {
    position: relative;
}

.address-suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    list-style: none;
    margin: 2px 0 0;
    padding: 0;
    background: white;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    max-height: 240px;
    overflow-y: auto;
}

.address-suggestions li {
    padding: 10px 15px;
    font-size: 14px;
    color: #222;
    cursor: pointer;
}

.address-suggestions li:hover,
.address-suggestions li.active {
    background: #f0f0f0;
}

.address-suggestions li .borough {
    color: #888;
    font-size: 12px;
}

/* Sponsors */

.sponsor-text {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 25px;
    line-height: 1.5;
}

.sponsor-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.sponsor-logos img {
    height: 50px;
    width: auto;
    object-fit: contain;
}
