/* Bootstrap 5 Replacement and Custom Styles */
/* Note: Commented out Bootstrap-replaced styles for reference */

/* Typography */
body {
    font-family: "Open Sans", sans-serif;
    color: #444444;
}

a {
    text-decoration: none;
    color: #d9232d;
}

    a:hover {
        color: #ffd700;
        text-decoration: none;
    }

h1, h2, h3, h4, h5, h6 {
    font-family: "Raleway", sans-serif;
    
}


/* General Sections */
section {
    padding: 60px 0;
    overflow: hidden;
}

.section-title {
    padding-bottom: 40px;
}

    .section-title h2 {
        font-size: 14px;
        font-weight: 500;
        padding: 0;
        line-height: 1px;
        margin: 0 0 5px 0;
        letter-spacing: 2px;
        text-transform: uppercase;
        font-family: "Poppins", sans-serif;
    }

        .section-title h2::after {
            content: "";
            width: 120px;
            height: 1px;
            display: inline-block;
            margin: 4px 10px;
        }

    .section-title p {
        margin: 0;
        font-size: 36px;
        font-weight: 700;
        text-transform: uppercase;
        font-family: "Poppins", sans-serif;
    }

/* Breadcrumbs */
.breadcrumbs {
    padding: 18px 0;
    background: #f8f9fa; /* Bootstrap's bg-light */
    min-height: 40px;
    margin-top: 80px;
}

    .breadcrumbs h2 {
        font-size: 32px;
        font-weight: 300;
        margin: 0;
    }

    .breadcrumbs ol {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        padding: 0;
        margin: 0;
        font-size: 14px;
    }

        .breadcrumbs ol li + li {
            padding-left: 10px;
        }

            .breadcrumbs ol li + li::before {
                display: inline-block;
                padding-right: 10px;
                color: #6b7b8d;
                content: "/";
            }

@media (max-width: 992px) {
    .breadcrumbs {
        margin-top: 58px;
    }

        .breadcrumbs .d-flex {
            display: block !important;
        }

        .breadcrumbs h2 {
            margin-bottom: 10px;
        }

        .breadcrumbs ol {
            display: block;
        }

            .breadcrumbs ol li {
                display: inline-block;
            }
}

/* About Section */
.about .content h2 {
    font-weight: 700;
    font-size: 48px;
    line-height: 60px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.about .content h3 {
    font-weight: 500;
    line-height: 32px;
    font-size: 24px;
}

.about .content ul {
    list-style: none;
    padding: 0;
}

    .about .content ul li {
        padding: 10px 0 0 28px;
        position: relative;
    }

    .about .content ul i {
        left: 0;
        top: 7px;
        position: absolute;
        font-size: 20px;
    }

.about .content p:last-child {
    margin-bottom: 0;
}

/* Clients Section */
.clients {
    padding: 15px 0;
    text-align: center;
}

    .clients img {
        max-width: 45%;
        transition: all 0.4s ease-in-out;
        display: inline-block;
        padding: 15px 0;
        filter: grayscale(100%);
    }

        .clients img:hover {
            filter: none;
            transform: scale(1.15);
        }

@media (max-width: 768px) {
    .clients img {
        max-width: 40%;
    }
}

/* Services Section */
.services .icon-box {
    margin-bottom: 20px;
    padding: 30px;
    border-radius: 6px;
}

    .services .icon-box i {
        float: left;
        font-size: 40px;
    }

    .services .icon-box h4 {
        margin-left: 70px;
        font-weight: 700;
        margin-bottom: 15px;
        font-size: 18px;
    }

        .services .icon-box h4 a {
            transition: 0.3s;
        }

    .services .icon-box p {
        margin-left: 70px;
        line-height: 24px;
        font-size: 14px;
    }

/* Portfolio Section */
.portfolio .portfolio-item {
    margin-bottom: 30px;
}

.portfolio #portfolio-flters {
    padding: 0;
    margin: 0 auto 20px auto;
    list-style: none;
    text-align: center;
}

    .portfolio #portfolio-flters li {
        cursor: pointer;
        display: inline-block;
        padding: 8px 15px 10px 15px;
        font-size: 14px;
        font-weight: 600;
        line-height: 1;
        text-transform: uppercase;
        margin-bottom: 5px;
        transition: all 0.3s ease-in-out;
        border-radius: 3px;
    }

.portfolio .portfolio-wrap {
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .portfolio .portfolio-wrap img {
        transition: all ease-in-out 0.3s;
    }

    .portfolio .portfolio-wrap .portfolio-info {
        opacity: 0;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 3;
        transition: all ease-in-out 0.3s;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        padding: 20px;
    }

        .portfolio .portfolio-wrap .portfolio-info h4 {
            font-size: 20px;
            font-weight: 600;
        }

        .portfolio .portfolio-wrap .portfolio-info p {
            color: rgba(255, 255, 255, 0.7);
            font-size: 14px;
            text-transform: uppercase;
            padding: 0;
            margin: 0;
            font-style: italic;
        }

    .portfolio .portfolio-wrap .portfolio-links {
        text-align: center;
        z-index: 4;
    }

        .portfolio .portfolio-wrap .portfolio-links a {
            color: rgba(255, 255, 255, 0.6);
            margin: 0 5px 0 0;
            font-size: 28px;
            display: inline-block;
            transition: 0.3s;
        }

            .portfolio .portfolio-wrap .portfolio-links a:hover {
                color: white;
            }

    .portfolio .portfolio-wrap:hover img {
        transform: scale(1.2);
    }

    .portfolio .portfolio-wrap:hover .portfolio-info {
        opacity: 1;
    }

/* Footer */
#footer {
    background: #4a5562; /* Replaced with Bootstrap bg-dark */
    padding: 0 0 30px 0;
    color: #fff;
    font-size: 14px;
}

    #footer .footer-top {
        
        padding: 60px 0 30px 0;
    }

        #footer .footer-top .footer-info {
            margin-bottom: 30px;
        }

            #footer .footer-top .footer-info h3 {
                font-size: 24px;
                margin: 0 0 20px 0;
                padding: 2px 0 2px 0;
                line-height: 1;
                font-weight: 700;
            }

            #footer .footer-top .footer-info p {
                font-size: 14px;
                line-height: 24px;
                margin-bottom: 0;
                font-family: "Raleway", sans-serif;
                color: #fff;
            }

        #footer .footer-top .social-links a {
            font-size: 18px;
            display: inline-block;
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            line-height: 1;
            padding: 8px 0;
            margin-right: 4px;
            border-radius: 4px;
            text-align: center;
            width: 36px;
            height: 36px;
            transition: 0.3s;
        }

            #footer .footer-top .social-links a:hover {
                background: #d9232d;
                color: #fff;
                text-decoration: none;
            }

        #footer .footer-top h4 {
            font-size: 16px;
            font-weight: 600;
            color: #fff;
            position: relative;
            padding-bottom: 12px;
        }

        #footer .footer-top .footer-links {
            margin-bottom: 30px;
        }

            #footer .footer-top .footer-links ul {
                list-style: none;
                padding: 0;
                margin: 0;
            }

                #footer .footer-top .footer-links ul i {
                    padding-right: 2px;
                    color: rgba(255, 255, 255, 0.6);
                    font-size: 18px;
                    line-height: 1;
                }

                #footer .footer-top .footer-links ul li {
                    padding: 10px 0;
                    display: flex;
                    align-items: center;
                }

                    #footer .footer-top .footer-links ul li:first-child {
                        padding-top: 0;
                    }

                #footer .footer-top .footer-links ul a {
                    color: rgba(255, 255, 255, 0.6);
                    transition: 0.3s;
                    display: inline-block;
                    line-height: 1;
                }

                    #footer .footer-top .footer-links ul a:hover {
                        color: white;
                    }

        #footer .footer-top .footer-newsletter form {
            margin-top: 30px;
            background: #fff;
            padding: 6px 10px;
            position: relative;
            border-radius: 4px;
        }

            #footer .footer-top .footer-newsletter form input[type=email] {
                border: 0;
                padding: 4px;
                width: calc(100% - 110px);
            }

            #footer .footer-top .footer-newsletter form input[type=submit] {
                position: absolute;
                top: 0;
                right: -2px;
                bottom: 0;
                border: 0;
                background: none;
                font-size: 16px;
                padding: 0 20px 2px 20px;
                background: #d9232d;
                color: #fff;
                transition: 0.3s;
                border-radius: 0 4px 4px 0;
            }

                #footer .footer-top .footer-newsletter form input[type=submit]:hover {
                    background: #df3740;
                }

    #footer .copyright {
        text-align: center;
        padding-top: 30px;
    }

    #footer .credits {
        padding-top: 10px;
        text-align: center;
        font-size: 13px;
        color: rgba(255, 255, 255, 0.6);
    }

        #footer .credits a {
            color: rgba(255, 255, 255, 0.6);
            transition: 0.3s;
            font-weight: 600;
        }

            #footer .credits a:hover {
                color: white;
            }

/* Custom Styles */
div.stretchy-wrapper {
    background-color: black;
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

    div.stretchy-wrapper > div {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
    }
.carousel-item {
    height: 100vh; /* Full viewport height */
    position: relative;
}

.carousel-caption {
    max-width: 75%; /* Adjust the width as needed */
    background: rgba(0, 0, 0, 0.6); /* Optional: semi-transparent background */
    padding: 20px;
    border-radius: 10px;
    -webkit-transform: translate(0, -250%);
    -ms-transform: translate(0, -250%);
    transform: translate(0, -250%);
}
.carousel-caption {
/*    width: 50%;
    height: 50%;*/
/*    z-index: 10;
    color: #fff;*/
/*    text-align: center;*/
/*    top: 50%;
    left: 25%;
    right: auto;
    bottom: auto;*/
/*    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    background: rgba(0, 0, 0, 0.6);*/
/*    justify-content: center;*/

}

body {
    background-color: #000000; /* Black background */
    color: #ffffff; /* White text */
}

.bi {
    color: #ffd700; /* Gold icon color */
}

.clients img {
    max-width: 200px;
    margin: 20px;
}

.portfolio-item .portfolio-wrap {
    background-color: #5c40af; /* Purple portfolio item background */
    color: #ffffff; /* White text */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.portfolio-item .portfolio-info h4 {
    color: #ffd700; /* Gold portfolio item title */
}

.portfolio-links a {
    color: #ffffff; /* White text for portfolio links */
}

p {
    color: #ffffff;
}

.icon-box {
    background-color: #800080;
    color: #ffffff;
}

a {
    color: #ffd700;
}

.timeline-1 {
    border-left: 5px solid white;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    background: rgba(177, 99, 163, 0.09);
    margin: 0 auto;
    position: relative;
    padding: 50px;
    list-style: none;
    text-align: left;
    max-width: 90%;
}

@media (max-width: 767px) {
    .timeline-1 {
        width: 90%;
        padding: 25px;
    }
}

.timeline-1 .event {
    border-bottom: 1px dashed #000;
    padding-bottom: 25px;
    margin-bottom: 25px;
    position: relative;
}

@media (max-width: 767px) {
    .timeline-1 .event {
        padding-top: 30px;
    }
}

.timeline-1 .event:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
    border: none;
}

.timeline-1 .event:before,
.timeline-1 .event:after {
    position: absolute;
    display: block;
    top: 0;
}

.timeline-1 .event:before {
    left: -207px;
    content: attr(data-date);
    text-align: right;
    font-weight: 100;
    font-size: 0.9em;
    min-width: 120px;
}

@media (max-width: 767px) {
    .timeline-1 .event:before {
        left: 0px;
        text-align: left;
    }
}

.timeline-1 .event:after {
    -webkit-box-shadow: 0 0 0 3px #b565a7;
    box-shadow: 0 0 0 3px #b565a7;
    left: -55.8px;
    background: #fff;
    border-radius: 50%;
    height: 9px;
    width: 9px;
    content: "";
    top: 5px;
}

@media (max-width: 767px) {
    .timeline-1 .event:after {
        left: -31.8px;
    }
}
/* Styles for the custom gallery container */

