:root {
    --navy: #061f3f;
    --blue: #0077c8;
    --light-blue: #eef4fb;
    --gray: #555;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--light-blue);
    color: #1f2d3d;
    font-family: Arial, sans-serif;
    margin: 0;
}

.navbar {
    border-bottom: 5px solid var(--blue);
}

.logo {
    width: 150px;
    height: auto;
}

.brand-title {
    color: var(--navy);
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.1;
}

.brand-tagline {
    color: var(--gray);
    font-size: .95rem;
}

.nav-link {
    color: var(--navy) !important;
    font-weight: 700;
    font-size: 1.05rem;
    margin-left: 12px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue) !important;
}

.home-hero {
    background: linear-gradient(135deg, rgba(6,31,63,.96), rgba(0,119,200,.92));
    color: white;
    padding: 75px 20px;
    text-align: center;
}

.home-hero h1 {
    font-size: 3rem;
    font-weight: 800;
}

.home-hero p {
    font-size: 1.25rem;
    max-width: 850px;
    margin: 18px auto 28px;
}

.hero {
    background-color: var(--white);
    border-top: 6px solid var(--blue);
    border-radius: 14px;
    padding: 38px;
    text-align: center;
    margin-bottom: 34px;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

.btn-custom,
.floating-estimate {
    background-color: var(--blue);
    color: white;
    font-weight: 700;
    border-radius: 30px;
    padding: 13px 25px;
    text-decoration: none;
    display: inline-block;
    border: none;
    transition: .25s ease;
}

.btn-custom:hover,
.floating-estimate:hover {
    background-color: var(--navy);
    color: white;
    transform: translateY(-2px);
}

.carousel-wrapper {
    background: white;
    padding: 18px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,.14);
}

.carousel-item img{
    width:100%;
    height:550px;
    object-fit:contain;
    background:#f4f7fb;
    border-radius:15px;
}
}

.carousel-caption-custom {
    background: rgba(6,31,63,.84);
    color: white;
    border-radius: 12px;
    padding: 12px 18px;
}

.card,
.service-card,
.contact-box,
.info-card {
    border-left: 5px solid var(--blue);
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    transition: .25s ease;
    border-radius: 12px;
    background: white;
}

.card:hover,
.service-card:hover,
.project-card:hover,
.info-card:hover {
    transform: translateY(-5px);
}

.service-icon,
.info-icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.featured-img {
    width: 100%;
    height: 230px;
    object-fit: contain;
    background: white;
    padding: 10px;
    border-radius: 12px;
}

.headshot-placeholder {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: white;
    border-radius: 16px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,.16);
}

.badge-box {
    background: white;
    border-left: 5px solid var(--blue);
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

.filter-btn {
    background-color: white;
    color: var(--navy);
    border: 2px solid var(--blue);
    padding: 10px 18px;
    margin: 6px;
    border-radius: 25px;
    font-weight: 700;
    transition: .25s ease;
}

.filter-btn:hover,
.active-filter {
    background-color: var(--blue);
    color: white;
}

.project-card {
    background-color: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    transition: .25s ease;
    height: 100%;
}

.project-card img {
    width: 100%;
    height: 285px;
    object-fit: contain;
    background-color: #f8f9fa;
    cursor: pointer;
    padding: 10px;
}

.project-card h3 {
    color: var(--navy);
    font-size: 1.28rem;
    margin: 16px 16px 5px;
}

.project-card p {
    color: var(--blue);
    font-weight: 700;
    margin: 0 16px 18px;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 3000;
    padding: 28px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,.92);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    text-align: center;
    color: white;
    max-width: 90%;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-content h2 {
    margin-top: 15px;
}

.lightbox-content p {
    color: #66c2ff;
    font-weight: 700;
}

.close,
.prev,
.next {
    position: absolute;
    color: white;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}

.close {
    top: 18px;
    right: 34px;
    font-size: 46px;
}

.prev,
.next {
    top: 50%;
    font-size: 60px;
    transform: translateY(-50%);
}

.prev { left: 30px; }
.next { right: 30px; }

.close:hover,
.prev:hover,
.next:hover {
    color: #66c2ff;
}

.contact-box {
    padding: 28px;
}

.contact-box a {
    color: var(--blue);
    font-weight: 700;
}
.headshot{
    width:100%;
    max-width:340px;
    border-radius:18px;
    box-shadow:0 12px 35px rgba(0,0,0,.2);
    object-fit:cover;
}

.floating-estimate {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1500;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

footer {
    background-color: var(--navy);
    color: white;
    padding: 32px 18px;
    margin-top: 50px;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: #66c2ff;
}

.footer-logo {
    width: 100px;
    background: white;
    border-radius: 10px;
    padding: 6px;
}

@media (max-width: 992px) {
    .brand-title {
        font-size: 1.35rem;
    }
}

@media (max-width: 768px) {
    .logo {
        width: 80px;
    }

    .brand-title {
        font-size: 1.05rem;
    }

    .brand-tagline {
        display: none;
    }

    .home-hero {
        padding: 48px 15px;
    }

    .home-hero h1 {
        font-size: 2rem;
    }

    .home-hero p {
        font-size: 1rem;
    }

    .hero {
        padding: 25px 15px;
    }

    .project-card img,
    .featured-img {
        height: auto;
    }

    .floating-estimate {
        font-size: 14px;
        padding: 12px 16px;
    }

    .prev,
    .next {
        font-size: 40px;
    }

    .prev { left: 12px; }
    .next { right: 12px; }

    .lightbox-img {
        max-width: 100%;
        max-height: 70vh;
    }
}
#lightbox {
    overflow: hidden;
}

#lightbox .lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#lightbox-img {
    max-width: 85vw !important;
    max-height: 75vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
}.social-links{
    margin-bottom:20px;
}
.facebook-link{
    color:#1877F2;
    font-weight:600;
    text-decoration:none;
    font-size:18px;
}

.facebook-link:hover{
    color:#145dbf;
    text-decoration:underline;
}

.facebook-link i{
    font-size:22px;
    margin-right:8px;
}