﻿body {
    background-color: #f7f7f7;
}

a {
    text-decoration: none !important;
}

.NoPadding {
    padding: 0;
    margin: 0;
}

#TopBar {
    background-color: #000;
}

.TopPage {
    padding: 10px;
    height: 50px;
}

    .TopPage a {
        color: #fff;
        padding: 0 10px;
    }

.Left {
    float: left;
    display: flex;
}

.Right {
    float: right;
    display: flex;
}

.HL {
    height: 10px;
    background-color: #000;
    width: 1px;
    margin-top: 7px;
}

.Logo {
    width: 350px;
}

.carousel-indicators li {
    height: 10px !important;
    width: 10px !important;
    border-radius: 100%;
}

    .carousel-indicators li.active {
        height: 15px !important;
        width: 15px !important;
    }

.carousel-indicators {
    align-items: center;
}

#OutProducts {
    background-color: #f7f7f7;
    padding: 100px 0;
    margin-top: 10px;
}

    #OutProducts .Title1 {
        color: #02477f;
        font-size: 40px;
    }

.ThreeBalls {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .ThreeBalls .SmallBall {
        margin: 2.5px;
        border-radius: 100%;
        width: 10px;
        height: 10px;
        background-color: #02477f;
    }

    .ThreeBalls .BigBall {
        margin: 2.5px;
        border-radius: 100%;
        width: 20px;
        height: 20px;
        background-color: #02477f;
    }

.slick-track {
    margin-top: 10px;
    margin-bottom: 40px;
}

.Product-Item {
    box-shadow: rgba(0,0,0,0.4) 10px 10px 10px;
    overflow: hidden;
    border-radius: 15px;
    margin: 20px;
}

    .Product-Item img {
        width: 100%;
        transition: transform .2s;
    }

        /*.Product-Item img:hover {
            transform: scale(1.5);
            z-index: 9999 !important;
            position: relative;
        }*/

.ProductDetailImage {
    overflow: hidden;
    box-shadow: rgba(0,0,0,0.4) 10px 10px 10px;
}

    .ProductDetailImage img {
        transition: transform .2s;
    }

        .ProductDetailImage img:hover {
            transform: scale(1.5);
            z-index: 9999 !important;
            position: center;
        }

.Product-Item-Title {
    background-color: #de5526;
    color: #fff;
    text-align: center;
}

    .Product-Item-Title h2 {
        padding: 5px;
        padding-bottom: 19px;
        font-size: 18px;
    }

.Product-Item-Info {
    margin-top:-3px;
    padding: 20px 0;
    background-color: #02477f;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

    .Product-Item-Info a,
    .Product-Item-Info h2 {
        color: #fff;
        font-size: 18px;
        padding-bottom: 20px;
    }

#OurWorks {
    background-color: #126db7;
    padding: 30px 15px;
    margin-top: 10px;
}

.Title1 {
    color: #000 !important;
    font-size: 30px;
}

.Title2 {
    color: #fff !important;
    font-size: 30px;
}

#Footer {
    padding: 10px 0;
    background-color: #000;
}

    #Footer .Contacts {
        font-size: 22px;
        display: flex;
    }

    #Footer i,
    #Footer svg {
        color: #fff !important;
        background-color: #de5526;
        border-radius: 100%;
        width: 37px !important;
        height: 37px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 10px;
    }

    #Footer svg {
        padding: 10px;
    }

    #Footer a {
        display: flex;
        color: #fff !important;
    }

#ProductDetail {
    padding: 100px 0;
    background-color: #fff;
}

    #ProductDetail img {
        width: 100%;
        padding: 10px;
    }

    #ProductDetail .Image-Border {
        background-color: #fff;
        padding: 20px;
    }

.Info {
    color: #fff;
    font-size: 24px;
    line-height: 40px;
}

@media only screen and (max-width: 1150px) {
    .Logo {
        width: 180px;
    }
}

#OutProducts {
    padding: 0 20px;
}

.carousel-control-prev div,
.carousel-control-next div {
    background-color: rgba(0,0,0,0.5);
    border-radius: 100%;
    padding: 10px;
    height: 40px;
    width: 40px;
}

/* Make the navbar background slightly transparent */
.navbar {
    background-color: rgba(255, 255, 255, 0.9) !important; /* 80% opacity */
    position: absolute;
    width: 100%;
    z-index: 1; /* Ensures the navbar stays above the slider */
}

@media only screen and (max-width: 1200px) {
    .navbar{
        position:relative!important;
    }
}

#Slider {
    margin-top: 0;
    padding-top: 0;
}

.navbar-nav .nav-link {
    font-size: 14px;
    font-weight:bolder;
}

.carousel {
    width: 100%;
}

.slide-box {
    display: flex;
    justify-content: space-between;
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .slide-box img {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .slide-box img {
        -ms-flex: 0 0 33.3333%;
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}

@media (min-width: 992px) {
    .slide-box img {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: .5rem;
}

.slick-slide {
    padding: 0 10px;
}

@media (max-width: 768px) {
    .Title1 {
        font-size: 30px !important;
    }

    .Title2 {
        font-size: 30px !important;
    }
}

.DetailBtn {
    background-color: #02477f;
    color: #fff;
    text-align: center;
    width: 60%;
    background-image: url('../img/artboard 1@2x-8.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 170px;
    padding-top: 12px;
    padding-bottom: 20px;
    margin-top: 50px;
    margin: auto;
}
.DetailBtn:hover{
    opacity:0.5;
}

.slick-prev:before, .slick-next:before {
    color: #000 !important;
}
/* Make sure the carousel-caption takes full height of the carousel */
.carousel-caption {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex !important;
    flex-direction: column;
    justify-content: center; /* Vertically centers the content */
    background-color: rgba(0, 0, 0, 0.3); /* Optional: A slight transparent background */
    padding: 0 200px;
}

@media only screen and (max-width: 900px) {
    .carousel-caption {
        padding: 10px !important;
    }
}

.carousel-caption h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #fff; /* White text for better visibility */
}

.carousel-caption p {
    font-size: 1.5rem;
    color: #fff;
}

.carousel-caption a.btn{
    margin-top: 10px;
    font-size: 1.2rem;
    width: 150px;
    padding-bottom: 16px;
    color: #1ca8b9;
    background-color: #fff;
    border-color: #fff;
}

.carousel-caption a.btn:hover {
    color: #fff;
    background-color: #1ca8b9;
    border-color: #1ca8b9;
}

/* Button container (circular with glow) */
.tiktok-btn {
    position: inherit;
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff; /* Background color of the button */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2; /* Ensure the button stays on top */
}

/* Hover effect for the button */
.tiktok-btn:hover {
    transform: scale(1.1); /* Slightly enlarges the button on hover */
}

/* Glow animation */
@keyframes glow {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: calc(100% + 10px); /* The wave grows 5px beyond the button */
        height: calc(100% + 10px);
        opacity: 0;
    }
}

/* Container for the button and glow */
.tiktokContainer {
    position: relative;
    margin-right: 20px;
    margin-left: 20px;
    margin-top:9px;
    width: 80px; /* Larger container */
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Glow effect */
.glow {
    position: absolute;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8); /* Transparent background for the glow */
    z-index: 1; /* Glow is behind the button */
    animation: glow 2s infinite;
}


/* Styling the TikTok icon */
.tiktok-icon {
    width: 30px;
    height: 30px;
    fill: white; /* Makes the icon white */
}

.carousel-caption .Btns {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
}
/* Style for the list */
.contact-list {
    list-style: none; /* Remove default bullets */
    display: flex; /* Display list items side by side */
    justify-content: center; /* Center items horizontally */
    padding: 0;
    margin: 0;
}

    /* Style for the list items */
    .contact-list li {
        margin: 0!important; /* Add some spacing between items */
    }

        /* Style for the links inside the list items */
        .contact-list li a {
            text-decoration: none; /* Remove underline */
            color: #333; /* Default text color */
            font-size: 16px;
            display: flex;
            align-items: center;
        }

        /* Adjust the icons */
        .contact-list li i {
            margin-right: 8px; /* Add space between icon and text */
            font-size: 20px; /* Icon size */
        }

        /* Optional: Style on hover */
        .contact-list li a:hover {
            color: #28808c; /* Change color on hover */
        }
/* Modal styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    padding-top: 60px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.9); /* Black background with opacity */
}

/* Modal Content (Image) */
.modal-content {
    display: block;
    width: 100%; /* Make the image fill the width */
    height: 100%; /* Make the image fill the height */
    object-fit: contain; /* Maintain aspect ratio while fitting inside the modal */
    margin: auto; /* Center the image inside the modal */
    background-color: transparent;
}

/* Caption (optional) */
.modal-caption {
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

/* Close button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

    .close:hover,
    .close:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

.carousel-indicators {
    z-index: 1 !important;
}

.contact-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
}

.contact-item {
    margin: 10px;
}

@media only screen and (max-width: 420px) {
    .TopPage {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        height: 100px;
    }
}
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 60px; /* Location of the modal */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
    align-items: center;
    place-content: center;
}

/* Container to hold the image and navigation buttons */
.image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 80%; /* Limit the width of the container */
    margin: auto; /* Center the container horizontally */
    position: relative;
}

/* Modal Content (Image) */
#modalImage {
    max-width: 100%; /* Ensure the image stays inside the container */
    max-height: 80%;
    width: auto;
    height: auto;
}

/* Adjust the position of the buttons */
.prev, .next {
    cursor: pointer;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    background-color: transparent;
    border: none;
}

.prev {
    margin-right: 10px; /* Add some space between the arrow and image */
}

.next {
    margin-left: 10px; /* Add some space between the arrow and image */
}

/* Hover effect for navigation buttons */
.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.5); /* Optional hover effect */
    border-radius: 50%; /* Optional rounded buttons */
}

/* Close button (X) */
.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Adjust button sizes and positioning for smaller screens */
@media screen and (max-width: 600px) {
    .prev, .next {
        font-size: 18px;
        padding: 12px;
    }

    .close {
        font-size: 30px;
    }
}
.lead{
        display:block;
    }
@media only screen and (max-width: 1024px) {
    .lead{
        display:none;
    }
}

/* Image styling */
.hover-image {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
}

/* Line animation using ::before */
.hover-image::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 5px; /* Thickness of the line */
    width: 0;
    background-color: #009be8; /* Color of the line */
    transition: width 0.4s ease-in-out, left 0.4s ease-in-out;
    z-index: 1;
}

/* Ensure the parent element has a relative positioning */
.hover-image {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

/* On hover: line expands from left to right */
.hover-image:hover::before {
    width: 100%;
}

/* Mouse out effect: retract the line from right to left */
.hover-image:hover::before {
    left: 0;
    right: 0; /* Start from the right side when mouse leaves */
    transition: width 0.4s ease-in-out, left 0.4s ease-in-out;
}

