/* Why Choose Us Section */
.value-item {
    text-align: center;
    padding: 30px 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.value-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-brown);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-brown);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.value-item:hover .value-icon {
    transform: scale(1.1);
    color: var(--light-brown);
}

.value-item h4 {
    color: white;
    margin-bottom: 15px;
    font-weight: 600;
}

.value-item p {
    color: white;
    line-height: 1.6;
}

.dark-bg .value-item {
    background: rgba(255, 255, 255, 0.05);
}

.dark-bg .value-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
        .hero-section {
            background: linear-gradient(rgba(58, 38, 24, 0.8), rgba(58, 38, 24, 0.8)), url('https://images.unsplash.com/photo-1549517045-bc93de075e53?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1471&q=80');
            background-size: cover;
            background-position: center;
            color: var(--white);
            padding: 120px 0;
            text-align: center;
        }

/* Dark Background Sections */
        .dark-bg {
            background-color: var(--primary-dark);
            color: var(--white);
        }

.dark-bg .section-title h2 {
            color: var(--white);
        }

/* Cards */
        .card {
            border: none;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            margin-bottom: 30px;
            height: 100%;
        }

.card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }

.card-body {
            padding: 30px;
        }

.card-icon {
            font-size: 2.5rem;
            color: var(--primary-brown);
            margin-bottom: 20px;
        }

/* Team Section */
        .team-member {
            text-align: center;
            margin-bottom: 30px;
        }

.team-img {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 20px;
            border: 5px solid var(--light-brown);
        }

/* Values Section */
        .value-item {
            text-align: center;
            padding: 30px 20px;
        }

.value-icon {
            font-size: 3rem;
            color: var(--primary-brown);
            margin-bottom: 20px;
        }

/* Timeline Section */
        .timeline {
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
        }

.timeline::after {
            content: '';
            position: absolute;
            width: 6px;
            background-color: var(--primary-brown);
            top: 0;
            bottom: 0;
            left: 50%;
            margin-left: -3px;
        }

.timeline-item {
            padding: 10px 40px;
            position: relative;
            width: 50%;
            box-sizing: border-box;
        }

.timeline-item::after {
            content: '';
            position: absolute;
            width: 25px;
            height: 25px;
            background-color: var(--white);
            border: 4px solid var(--primary-brown);
            top: 15px;
            border-radius: 50%;
            z-index: 1;
        }

.left {
            left: 0;
        }

.right {
            left: 50%;
        }

.left::after {
            right: -13px;
        }

.right::after {
            left: -13px;
        }

.timeline-content {
            padding: 20px 30px;
            background-color: var(--white);
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

/* Stats Section */
        .stats-section {
            background: linear-gradient(rgba(58, 38, 24, 0.9), rgba(58, 38, 24, 0.9)), url('https://images.unsplash.com/photo-1540518614846-7eded1027f2b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1457&q=80');
            background-size: cover;
            background-position: center;
            color: var(--white);
        }

.stat-item {
            text-align: center;
            padding: 30px 20px;
        }

.stat-number {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--light-brown);
        }

/* Responsive Adjustments */
        @media (max-width: 768px) {
            .hero-section h1 {
                font-size: 2.5rem;
            }
            
            .hero-section {
                padding: 100px 0;
            }
            
            .section-padding {
                padding: 60px 0;
            }
            
            .navbar-nav {
                text-align: center;
                margin-top: 15px;
            }
            
            .navbar-nav .nav-link {
                margin: 5px 0;
            }
            
            .timeline::after {
                left: 31px;
            }
            
            .timeline-item {
                width: 100%;
                padding-left: 70px;
                padding-right: 25px;
            }
            
            .timeline-item::after {
                left: 18px;
            }
            
            .right {
                left: 0%;
            }
        }

/* =========================================
   JOE'S & K CONTRACTING INC.
   NAVY BLUE + ORANGE + RED THEME
========================================= */

:root {
    --primary-brown: #102D91;
    --light-brown: #F5A900;
    --primary-dark: #071B55;
    --white: #FFFFFF;

    --primary-blue: #102D91;
    --orange: #F5A900;
    --red: #E52B16;
}

/* Hero Section */
.hero-section {
    background:
        linear-gradient(
            rgba(7, 27, 85, 0.82),
            rgba(16, 45, 145, 0.82)
        ),
        url('https://images.unsplash.com/photo-1549517045-bc93de075e53?auto=format&fit=crop&w=1471&q=80');

    background-size: cover;
    background-position: center;
    color: var(--white);
}

/* Dark Background Sections */
.dark-bg {
    background-color: #071B55;
    color: #FFFFFF;
}

.dark-bg .section-title h2 {
    color: #FFFFFF;
}

/* Why Choose Us Section */
.value-item {
    text-align: center;
    padding: 30px 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.value-item:hover {
    transform: translateY(-5px);
    border-color: #F5A900;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.value-icon {
    font-size: 3rem;
    color: #F5A900;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.value-item:hover .value-icon {
    transform: scale(1.1);
    color: #E52B16;
}

.value-item h4,
.value-item p {
    color: #FFFFFF;
}

.dark-bg .value-item {
    background: rgba(255, 255, 255, 0.06);
}

.dark-bg .value-item:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 30px;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(16, 45, 145, 0.18);
}

.card-body {
    padding: 30px;
}

.card-icon {
    font-size: 2.5rem;
    color: #102D91;
    margin-bottom: 20px;
}

/* Team Section */
.team-member {
    text-align: center;
    margin-bottom: 30px;
}

.team-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 5px solid #F5A900;
}

/* Timeline Section */
.timeline::after {
    background-color: #102D91;
}

.timeline-item::after {
    background-color: #FFFFFF;
    border: 4px solid #F5A900;
}

.timeline-content {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Stats Section */
.stats-section {
    background:
        linear-gradient(
            rgba(7, 27, 85, 0.90),
            rgba(16, 45, 145, 0.90)
        ),
        url('https://images.unsplash.com/photo-1540518614846-7eded1027f2b?auto=format&fit=crop&w=1457&q=80');

    background-size: cover;
    background-position: center;
    color: #FFFFFF;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #F5A900;
}

/* Buttons */
.btn-primary {
    background-color: #102D91;
    border-color: #102D91;
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #071B55;
    border-color: #071B55;
}

.btn-warning {
    background-color: #F5A900;
    border-color: #F5A900;
    color: #071B55;
}

.btn-warning:hover {
    background-color: #E52B16;
    border-color: #E52B16;
    color: #FFFFFF;
}

/* Section Accent */
.section-title h2 {
    color: #102D91;
}

.section-title::after {
    background-color: #F5A900;
}

 :root {
            --primary: #102D91;
            --primary-dark: #071B55;
            --gold: #F5A900;
            --red: #E52B16;
            --white: #FFFFFF;
            --light: #F2F4F8;
        }

        footer {
            background: var(--primary-dark);
            color: var(--white);
            padding: 65px 0 20px;
        }

        footer h3,
        footer h5 {
            color: var(--gold);
            font-weight: 600;
        }

        footer p {
            color: rgba(255,255,255,0.8);
            line-height: 1.8;
        }

        .footer-links ul {
            padding: 0;
            list-style: none;
        }

        .footer-links ul li {
            margin-bottom: 12px;
            color: rgba(255,255,255,0.8);
            overflow-wrap: anywhere;
        }

        .footer-links ul li a {
            color: rgba(255,255,255,0.8);
            transition: 0.3s;
        }

        .footer-links ul li a:hover {
            color: var(--gold);
        }

        .footer-links ul li i {
            color: var(--gold);
        }

        .copyright {
            border-top: 1px solid rgba(255,255,255,0.15);
            margin-top: 35px;
            padding-top: 20px;
            text-align: center;
            color: rgba(255,255,255,0.7);
            font-size: 13px;
        }

        .fixed-phone {
            position: fixed;
            right: 20px;
            bottom: 20px;
            z-index: 999;
        }

        .phone-image {
            width: 60px;
            height: 60px;
            object-fit: contain;
        }

        @media (max-width: 767px) {
            .top-bar .text-md-end {
                text-align: left !important;
                margin-top: 7px;
            }

            .hero-section {
                padding: 75px 15px;
            }

            .section-padding {
                padding: 55px 0;
            }

            .portfolio-item img {
                height: 240px;
            }

            .navbar-brand img {
                max-height: 65px;
            }
        }