/*----Global----*/
:root {
	--primary-color: #072046;
	--secondary-color: #8B8177;
	--accent-color: #A89060;
	--nav-offset: 9.25rem;
}

@media (max-width: 767px) {
    :root {
        --nav-offset: 11.25rem;
    }
}

@media (max-width: 372px) {
    :root {
        --nav-offset: 12.25rem;
    }
}

#services {
    scroll-margin-top: var(--nav-offset);
}

.message-alert {
	position: absolute;
	z-index: 99;
}

.serviceAddress {
	position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-control,
.form-select {
	border: 1px solid black;
}

.modal-header {
	border-bottom: 0px solid white;
}

/*----Footer----*/
.site-footer {
    background: var(--primary-color);
    color: rgba(255,255,255,.78);
    padding: 4rem 0 1.25rem;
}

.footer-logo {
    max-width: 220px;
    background: #fff;
    border-radius: 10px;
    padding: .5rem;
}

.site-footer h5 {
    color: #fff;
    font-weight: 800;
    margin-bottom: 1rem;
}

.site-footer p {
    line-height: 1.7;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: .55rem;
}

.footer-links a,
.footer-links button,
.footer-contact a,
.footer-contact button,
.footer-bottom a {
    color: rgba(255,255,255,.78);
    text-decoration: none;
    background: none;
    border: 0;
    padding: 0;
}

.footer-links a:hover,
.footer-links button:hover,
.footer-contact a:hover,
.footer-contact button:hover,
.footer-bottom a:hover {
    color: var(--accent-color);
}

.footer-contact i {
    color: var(--accent-color);
    margin-right: .45rem;
}

.footer-social {
    display: flex;
    gap: .75rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent-color);
    color: #fff;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.footer-social a:hover {
    background: #fff;
    color: var(--primary-color);
}

.veteran-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: .75rem;
    padding: .5rem .85rem;
    border-radius: 999px;
    background: rgba(168,144,96,.18);
    color: #fff;
    font-weight: 800;
}

.veteran-badge i {
    color: var(--accent-color);
}

.site-footer hr {
    border-color: rgba(255,255,255,.15);
    margin: 2rem 0 1rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
    font-size: .9rem;
}

@media (max-width: 767px) {
    .site-footer {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

/*----Header----*/
.top-bar {
    background: var(--primary-color);
    color: white;
    padding: .5rem 0;
    font-size: 1rem;
}

.top-bar a {
    color: white;
    text-decoration: none;
    margin-right: 1rem;
    transition: .3s;
}

.top-bar a:hover{
    color: var(--accent-color);
}

.top-bar span{
    font-weight: 600;
    letter-spacing: .5px;
}

.fa-diamond {
	font-size: .5rem;
}

@media(max-width:991px){
    .top-bar .col-lg-6:first-child {
        margin-bottom:.35rem;
    }
}

/*--Navbar Brand--*/
.navbar-brand {
    display: flex;
    align-items: center;
    gap: .85rem;
    text-decoration: none;
}

.navbar-brand img {
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.brand-tagline {
    margin-top: .3rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: .08em;
}

@media (max-width: 767px) {

    .brand-name {
    }

    .brand-tagline {
    }

    .navbar-brand img {
        height: 52px !important;
    }

}

@media (max-width: 420px) {

    .brand-name {
        font-size: 1rem;
    }

}

/*--Menu--*/
.navbar {
    background: white;
    padding: .75rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,.15);
	border-bottom: 1px solid var(--accent-color);
}

.navbar-brand img {
    height: 6rem;
	width: auto;
}

.nav-link {
    color: var(--primary-color);
    font-weight: 600;
    margin-right: 1rem;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--secondary-color);
}

.btn-accent {
    background: var(--accent-color);
    color: #fff;
    border: 0;
    font-weight: 600;
}

.btn-accent:hover,
.btn-accent:focus {
    background: var(--secondary-color);
    color: #fff;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    border: 0;
    font-weight: 600;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--secondary-color);
    color: #fff;
}

.navbar-toggler {
	border: 1px solid black;
}

.offcanvas {
    background: var(--primary-color);
}

.offcanvas-title,
.offcanvas h5,
.offcanvas .nav-link {
    color: #fff;
}

.offcanvas .nav-link:hover,
.offcanvas .nav-link:focus {
    color: var(--accent-color);
}

.offcanvas .btn-close {
    filter: invert(1);
}

.frank-pic {
	width: 100%;
	height: auto;
}

/*----Home Hero----*/
.home-hero{
    position:relative;
}

.hero-placeholder{
    position:relative;
    min-height:700px;
    background:
        linear-gradient(
            90deg,
            rgba(7,32,70,.92) 0%,
            rgba(7,32,70,.80) 35%,
            rgba(7,32,70,.45) 65%,
            rgba(7,32,70,.20) 100%
        ),
        url("../images/hero-1.png");
    background-size:cover;
    background-repeat:no-repeat;
    overflow:hidden;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.10),
            rgba(0,0,0,.30)
        );
    z-index:1;
}

.min-vh-75{
    min-height:700px;
}

.hero-content{
    position:relative;
    z-index:2;
    color:#fff;
    max-width:700px;
}

.hero-content h1{
    font-size:clamp(3rem,6vw,5.5rem);
    font-weight:800;
    line-height:.95;
    margin-bottom:1.5rem;
    text-shadow:0 3px 10px rgba(0,0,0,.45);
}

.hero-content p{
    font-size:1.25rem;
    line-height:1.8;
    margin-bottom:2rem;
    color:rgba(255,255,255,.94);
    text-shadow:0 2px 8px rgba(0,0,0,.45);
}

.hero-eyebrow{
    display:inline-block;
    margin-bottom:1.5rem;
    padding:.6rem 1rem;
    background:rgba(168,144,96,.92);
    color:#fff;
    font-size:.85rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.08em;
    border-radius:50px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-hero-primary,
.btn-hero-secondary {
    padding: .9rem 1.35rem;
    border-radius: 999px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.btn-hero-primary {
    background: var(--accent-color);
    color: #fff;
    border: 2px solid var(--accent-color);
}

.btn-hero-primary:hover,
.btn-hero-primary:focus {
    background: #fff;
    color: var(--primary-color);
    border-color: #fff;
}

.btn-hero-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.85);
}

.btn-hero-secondary:hover,
.btn-hero-secondary:focus {
    background: #fff;
    color: var(--primary-color);
    border-color: #fff;
}

@media (max-width:991px){

    .hero-placeholder,
    .min-vh-75{
        min-height:600px;
    }

    .hero-content{
        text-align:center;
        margin:auto;
    }

    .hero-buttons{
        justify-content:center;
    }

}

@media (max-width:576px){

    .hero-placeholder,
    .min-vh-75{
        min-height:560px;
    }

    .hero-content h1{
        line-height:1.05;
    }

    .hero-buttons .btn{
        width:100%;
    }

}

/*----Gallery----*/
.gallery-card {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.gallery-card:hover img {
    transform: scale(1.15);
}

#galleryModalImg {
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
}

@media (max-width: 991px) {
    .gallery-card img {
        height: 260px;
    }

    .gallery-card:hover img {
        transform: none;
    }
}

@media (max-width: 575px) {
    .gallery-card img {
        height: 300px;
    }
}

/*----Crawlspace Health Section----*/
.crawlspace-health {
    background: #fff;
}

.crawlspace-health-img {
    width: 100% !important;
	height: 100% !important;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(7,32,70,.18);
}

.section-image-btn{
    display:block;
    width:100%;
    padding:0;
    border:0;
    background:none;
    overflow:hidden;
    border-radius:18px;
    cursor:pointer;
}

.section-image-btn img{
    transition:.35s;
}

.section-image-btn:hover img{
    transform:scale(1.05);
}

@media(max-width:991px){
    .section-image-btn:hover img{
        transform:none;
    }
}

.section-eyebrow {
    display: inline-block;
    margin-bottom: .75rem;
    color: var(--accent-color);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.crawlspace-health h2 {
    color: var(--primary-color);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.crawlspace-health p {
    color: #444;
    font-size: 1.08rem;
    line-height: 1.75;
}

@media (max-width: 991px) {
    .crawlspace-health {
        text-align: center;
    }
}

/*----Services Section----*/

.services-section {
    background: #f7f7f5;
}

.services-section h2 {
    color: var(--primary-color);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.08;
}

.services-intro {
    max-width: 850px;
    margin: 1rem auto 0;
    color: #444;
    font-size: 1.1rem;
    line-height: 1.7;
}

.primary-service {
    background: #fff;
    border-radius: 22px;
    padding: 2rem;
    box-shadow: 0 18px 45px rgba(7,32,70,.12);
}

.primary-service-img {
    width: 100%;
    border-radius: 18px;
}

.service-label {
    display: inline-block;
    margin-bottom: .75rem;
    padding: .4rem .8rem;
    background: rgba(168,144,96,.15);
    color: var(--primary-color);
    border-left: 4px solid var(--accent-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .8rem;
}

.primary-service h3,
.additional-services-title {
    color: var(--primary-color);
    font-weight: 800;
}

.primary-service h3 {
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    margin-bottom: 1rem;
}

.primary-service p {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.75;
}

.additional-services-subtitle {
    color: #555;
}

.service-card {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(7,32,70,.12);
    cursor: pointer;
    text-align: left;
}

.service-card img {
    width: 100%;
    height: 310px;
    object-fit: contain;
    background: #fff;
    padding: 1rem;
    display: block;
    transition: transform .35s ease;
}

.service-card:hover img {
    transform: scale(1.04);
}

.service-card-caption {
    padding: 1.15rem 1.25rem;
    background: var(--primary-color);
    color: #fff;
}

.service-card-caption h4 {
    margin-bottom: .35rem;
    font-size: 1.25rem;
    font-weight: 800;
}

.service-card-caption span {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: .82rem;
    letter-spacing: .05em;
}

.service-info-modal .modal-header {
    background: var(--primary-color);
    color: #fff;
}

.service-info-modal .btn-close {
    filter: invert(1);
}

.service-modal-img {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #eee;
}

.service-info-modal p,
.service-info-modal li {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.7;
}

.service-info-modal ul {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .primary-service {
        text-align: center;
    }

    .service-card img {
        height: 280px;
    }
}

@media (max-width: 575px) {
    .primary-service {
        padding: 1.25rem;
    }

    .service-card img {
        height: 250px;
    }

    .service-card-caption {
        text-align: center;
    }
}

/*----Process Section----*/
.process-section{
    background:#fff;
}

.process-section h2{
    color:var(--primary-color);
    font-size:clamp(2rem,4vw,3rem);
    font-weight:800;
}

.process-intro{
    max-width:700px;
    margin:1rem auto 0;
    color:#555;
    font-size:1.1rem;
}

.process-card{
    position:relative;
    height:100%;
    background:#f8f8f8;
    border-radius:18px;
    padding:2rem 1.5rem;
    text-align:center;
    transition:.35s;
    box-shadow:0 10px 30px rgba(7,32,70,.08);
}

.process-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(7,32,70,.16);
}

.process-icon{
    width:80px;
    height:80px;
    margin:0 auto 1rem;
    border-radius:50%;
    background:var(--primary-color);
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:2rem;
}

.process-number{
    color:var(--accent-color);
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.06em;
    margin-bottom:.5rem;
}

.process-card h4{
    color:var(--primary-color);
    font-weight:800;
    margin-bottom:1rem;
}

.process-card p{
    color:#555;
    line-height:1.7;
    margin-bottom:0;
}

@media(max-width:991px){
    .process-card{
        margin-bottom:1rem;
    }
}

/*----Final CTA----*/

.final-cta {
    position: relative;
    padding: 6rem 0;
    background:
        linear-gradient(rgba(7,32,70,.78), rgba(7,32,70,.88)),
        url("../images/clean-crawlspace.jpg");
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
}

.final-cta-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(168,144,96,.22), transparent 45%);
}

.final-cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.final-cta h2 {
    font-size: clamp(2.25rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1.25rem;
}

.final-cta p {
    max-width: 760px;
    margin: 0 auto 2rem;
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255,255,255,.92);
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.final-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem;
}

.final-trust span {
    padding: .55rem .9rem;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: .85rem;
}

@media (max-width: 575px) {
    .final-cta {
        padding: 4rem 0;
    }

    .final-cta-buttons .btn {
        width: 100%;
    }

    .final-trust {
        display: grid;
    }
}