﻿/* JVH Banner Styles - cleaned & fixed */
.jvh-banner {
    position: relative;
    width: 100%;
    height: 90vh; /* change to 100vh if you want full screen */
    overflow: hidden;
}

/* slides container */
.jvh-slides {
    position: relative;
    width: 100%;
    height: 100%;
}
.brand-card {
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.1rem;
}

    .brand-card:hover {
        background: #963036;
        color: #fff;
        transform: translateY(-5px);
    }
    /* each slide is absolute so we can fade between them */
    .jvh-slides .slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        z-index: 1;
        transition: opacity 600ms ease;
        pointer-events: none; /* avoid accidental clicks on hidden slides */
    }

        /* visible slide */
        .jvh-slides .slide.active {
            opacity: 1;
            z-index: 2;
            pointer-events: auto;
        }

        /* image fills the slide */
        .jvh-slides .slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

/* Caption bar (fully black background) */
.banner-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.6); /* fully black */
    color: #fff;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}

    .banner-caption h2 {
        font-size: 32px;
        font-weight: 700;
        margin: 0;
        color: #fff;
    }

    .banner-caption p {
        font-size: 16px;
        margin: 5px 0 0;
        color: #ddd;
    }

/* Nav buttons (Prev/Next) */
.jvh-banner .prev,
.jvh-banner .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    font-size: 26px;
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jvh-banner .prev {
    left: 18px;
}

.jvh-banner .next {
    right: 18px;
}

    .jvh-banner .prev:hover,
    .jvh-banner .next:hover {
        background: #000;
    }

/* Dots */
.banner-dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 12px;
    display: flex;
    gap: 8px;
    z-index: 50;
    align-items: center;
}

    .banner-dots .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: none;
        background: rgba(255,255,255,0.5);
        cursor: pointer;
        padding: 0;
    }

        .banner-dots .dot.active {
            background: #fff;
            transform: scale(1.1);
        }

/* Responsive tweaks */
@media (max-width: 768px) {
    .jvh-banner {
        height: 50vh;
    }

    .banner-caption h2 {
        font-size: 20px;
    }

    .banner-caption p {
        font-size: 14px;
    }

    .jvh-banner .prev,
    .jvh-banner .next {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }
    /* Products Section */
    .products {
        background: #f9f9f9;
    }

    .section-title {
        font-weight: 700;
        font-size: 32px;
        margin-bottom: 10px;
    }

    .section-subtitle {
        font-size: 16px;
        color: #666;
        margin-bottom: 30px;
    }

    /* Projects Section */
    .projects {
        background: #fff;
    }

    .section-title {
        font-weight: 700;
        font-size: 32px;
        margin-bottom: 10px;
    }

    .section-subtitle {
        font-size: 16px;
        color: #666;
        margin-bottom: 30px;
    }

    .project-card {
        background: #f9f9f9;
        border-radius: 10px;
        padding: 20px;
        text-align: center;
        transition: all 0.3s ease;
        height: 100%;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }

        .project-card img {
            max-height: 180px;
            object-fit: cover;
            margin-bottom: 15px;
            border-radius: 8px;
        }

        .project-card h4 {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 8px;
        }

        .project-card p {
            font-size: 14px;
            color: #555;
            margin-bottom: 15px;
        }

        .project-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 16px rgba(0,0,0,0.1);
        }
    /* Projects Carousel - stylish & moving */
    .projects-carousel-section {
        background: #fff;
        color: #222;
    }

        /* section heading override */
        .projects-carousel-section .section-title {
            font-size: 32px;
            font-weight: 700;
        }

        .projects-carousel-section .section-subtitle {
            color: #666;
            margin-bottom: 20px;
        }

    /* carousel layout */
    .projects-carousel {
        position: relative;
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .carousel-viewport {
        overflow: hidden;
        width: 100%;
    }

    .carousel-track {
        display: flex;
        gap: 20px;
        transition: transform 600ms cubic-bezier(.22,.9,.29,1);
        will-change: transform;
        align-items: stretch;
    }

    /* project cards */
    .project-card {
        background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(16,24,40,0.06);
        overflow: hidden;
        min-width: 260px; /* fallback */
        flex: 0 0 calc(25% - 15px); /* default 4 per view */
        display: flex;
        flex-direction: column;
        transition: transform 300ms ease, box-shadow 300ms ease;
        cursor: pointer;
    }

        .project-card img {
            width: 100%;
            height: 170px;
            object-fit: cover;
            display: block;
        }

    .project-info {
        padding: 16px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

        .project-info h4 {
            margin: 0 0 8px;
            font-size: 18px;
            font-weight: 600;
        }

        .project-info p {
            color: #555;
            font-size: 14px;
            margin-bottom: 12px;
        }

    /* hover effect */
    .project-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 18px 40px rgba(16,24,40,0.12);
    }

    /* nav buttons */
    .proj-prev, .proj-next {
        background: rgba(0,0,0,0.75);
        color: #fff;
        border: none;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        font-size: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        transition: background 200ms ease, transform 200ms ease;
    }

        .proj-prev:hover, .proj-next:hover {
            background: #000;
            transform: scale(1.05);
        }

    /* dots */
    .projects-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 18px;
    }

        .projects-dots .dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(0,0,0,0.15);
            border: none;
            cursor: pointer;
        }

            .projects-dots .dot.active {
                background: #007bff;
                transform: scale(1.15);
            }

    /* Responsive visible counts */
    @media (max-width: 1199px) {
        .project-card {
            flex: 0 0 calc(33.333% - 13.33px);
        }
        /* 3 per view */
    }

    @media (max-width: 767px) {
        .project-card {
            flex: 0 0 calc(50% - 10px);
        }
            /* 2 per view */
            .project-card img {
                height: 140px;
            }
    }

    @media (max-width: 479px) {
        .projects-carousel {
            gap: 8px;
        }

        .project-card {
            flex: 0 0 calc(100% - 8px);
        }
        /* 1 per view */
        .proj-prev, .proj-next {
            display: none;
        }
        /* hide nav on tiny screens */
    }
    .about-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto 15px;
        background: #007bff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .about-icon i {
            font-size: 28px;
            color: #fff;
        }
    .projects-section .section-title {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .projects-section .section-subtitle {
        font-size: 16px;
        color: #666;
        margin-bottom: 30px;
    }

    .project-box {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        background: #fff;
    }

        .project-box:hover {
            transform: translateY(-8px);
            box-shadow: 0px 8px 20px rgba(0,0,0,0.15);
        }

    .project-content h5 {
        font-size: 20px;
        font-weight: 600;
    }

    .project-content p {
        font-size: 14px;
        color: #555;
    }
    .site-footer {
        background: linear-gradient(180deg,#0d1b2a,#1b263b);
        color: #fff;
        font-size: 15px;
    }

    .footer-heading {
        font-weight: 700;
        margin-bottom: 1rem;
        color: #fff;
    }

    .footer-links li {
        margin-bottom: .5rem;
    }

    .footer-links a {
        color: #adb5bd;
        text-decoration: none;
        transition: color .3s ease;
    }

        .footer-links a:hover {
            color: #00b4d8;
        }

    .social-icons a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        margin-right: 8px;
        border-radius: 50%;
        background: rgba(255,255,255,0.08);
        color: #fff;
        font-size: 16px;
        transition: all .3s ease;
    }

        .social-icons a:hover {
            background: #00b4d8;
            color: #fff;
            transform: translateY(-3px);
        }
  
        

    

}