* {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    /* color: rgb(9, 9, 88); */
    margin: 0;
    padding: 0;
    justify-content: center;
    /* align-items: center; */
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

.navbar-expand-md .navbar-nav .nav-link {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.footer {
    width: 98.7vw;
    display: block;
    overflow: hidden;
    padding: 20px 20px;
    margin-top: 50px;
    box-sizing: border-box;
    color: #ffffff;
    background-color: #221f1f;
    border-radius: 10px;
    overflow: hidden;
    /* position: relative; */
}

.footer-content {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    color: #ffffff;
}

.footer-content .col{
    text-align: center;
    font-size: small;
    color: rgb(242, 242, 248);
    background-color: #c7c4c1;
    box-shadow: 0px 0px 15px #a19b9b;
}

.box {
    background-color: #dbd0bf;
    /* display: grid; */
    justify-content: center;
    align-items: center; 
    color: #5c5955;
    padding: 0.5rem;
    margin: 0 5rem;
    box-shadow: 20px 20px 100px 2rem;
    position: relative;
}

.image img {
    width: 100%;
    height: 300px;
    box-shadow: 0px 0px 15px #7c7a7a;
    border-radius: 15px;
}

/* Project-specific small overrides moved from inline styles */
.navbar-brand img{height:48px}
.accent-blue{color:#022b59}
.footer .footer-col{background:#c7c4c1}
.footer .map-embed{border:0}
.footer .logo-img{max-height:80px}

/* Thumbnail helpers used on projects page */
.thumb{display:block;margin-left:auto;margin-right:auto;max-width:100%;height:auto}
.thumb-150{max-height:150px}
.thumb-200{max-height:200px}

.container .row {
    box-shadow: 0px 0px 15px #7c7a7a;
    border-radius: 15px;
}

.container .col {
    text-align: center;
    font-size: small;
    color: rgb(9, 9, 88);
    background-color: #ebe4de;
}

.container img {
    max-height: fit-content;
}

.paralle-image {
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(images/projects/Wimpy-Galleria-before-150x150.jpeg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: -2px -2px 15px #000000;
    border-radius: 15px;
}

.parallex-content {
    text-align: center;
    padding: 20px;
    line-height: 25px;
    color: rgb(9, 9, 88);
    background-color: #dbd0bf;
    box-shadow: 0px 0px 15px #000000;
    height: 220px;
    width: 400px;
    opacity: 0.85;
}

.paralle-image-second {
    padding-bottom: 0;
    height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(images/projects/Debonairs-13-1.jpeg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: -2px -2px 15px #000000;
    border-radius: 15px;
}

.parallex-content-second {
    text-align: center;
    padding: 20px;
    line-height: 25px;
    color: rgb(9, 9, 88);
    background-color: #dbd0bf;
    box-shadow: 0px 0px 15px #000000;
    height: 480px;
    width: 400px;
    opacity: 0.8;
 }

button {
    background-color: rgb(9, 9, 88);
    font-style: oblique;
    font-size: larger;
    color: #ccc8c3;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

#slider {
    overflow: hidden;
}

#slider .carousel {
    position: relative;
    width: 500%;
    margin: 0;
    left: 0;
    animation: 20s slider infinite;
    transition-delay: 2s ease;
}

#slider .carousel img {
    width: 20%;
    float: left;
    border-radius: 15px;
}

@keyframes slider {
    0% {
        left: 0;
    }

    20% {
        left: 0;
    }

    25% {
        left: -100%;
    }

    45% {
        left: -100%;
    }

    50% {
        left: -200%;
    }

    70% {
        left: -200%;
    }

    75% {
        left: -300%;
    }

    95% {
        left: -300%;
    }

    100% {
        left: -400%;
    }

}

#slider {
    overflow: hidden;
}

#slider .carousel {
    position: relative;
    width: 500%;
    margin: 0;
    left: 0;
    animation: 20s slider infinite;
    transition-delay: 2s ease;
}

#slider .carousel img {
    width: 20%;
    float: left;
    border-radius: 15px;
}

@keyframes slider {
    0% {
        left: 0;
    }

    20% {
        left: 0;
    }

    25% {
        left: -100%;
    }

    45% {
        left: -100%;
    }

    50% {
        left: -200%;
    }

    70% {
        left: -200%;
    }

    75% {
        left: -300%;
    }

    95% {
        left: -300%;
    }

    100% {
        left: -400%;
    }

}


/* Responsive slide-card and hi-slide: use flexible layout instead of fixed absolute positioning */
.slide-card {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    background-size: cover;
    padding: 1rem 0;
}

.hi-slide {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.hi-slide .hi-next,
.hi-slide .hi-prev {
    display: none; /* keep markup but hide old JS controls if present */
}

.hi-slide > ul {
    list-style: none;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    align-items: stretch;
}

.hi-slide > ul > li {
    overflow: hidden;
    position: relative;
    width: calc(33.333% - 8px);
    min-width: 180px;
    border: 0;
    background-color: transparent;
}

.hi-slide > ul > li > img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

@media (max-width: 768px){
  .hi-slide > ul > li{ width: calc(50% - 8px); }
}

@media (max-width: 480px){
  .hi-slide > ul > li{ width: 100%; }
}
