﻿

.h-50px {
    height: 50%;
}

.carousel-item {
    height: 100%;
}

@media (max-width: 576px) {
    .carousel-item {
        height: inherit;
    }
}


/*** Project ***/

.project-item,
.project-item .project-img {
    position: relative;
}

    .project-item .project-img a {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: rgba(255, 255, 255, .5);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        opacity: 0;
        transition: .5s;
    }

    .project-item:hover .project-img a {
        opacity: 1;
    }

    .project-item .project-title {
        position: absolute;
        top: 3rem;
        right: 0;
        bottom: 0;
        left: 3rem;
        border: 1px solid var(--light);
        border-radius: 8px;
        display: flex;
        align-items: flex-end;
        padding: 18px;
        z-index: -1;
        transition: .5s;
    }

    .project-item:hover .project-title {
        background: var(--primary);
        border-color: var(--primary);
    }

    .project-item .project-title h4 {
        transition: .5s;
    }

    .project-item:hover .project-title h4 {
        color: #FFFFFF;
    }

.project-carousel .owl-nav {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

    .project-carousel .owl-nav .owl-prev,
    .project-carousel .owl-nav .owl-next {
        margin: 0 12px;
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary);
        background: var(--light);
        border-radius: 45px;
        font-size: 22px;
        transition: .5s;
    }

        .project-carousel .owl-nav .owl-prev:hover,
        .project-carousel .owl-nav .owl-next:hover {
            background: var(--primary);
            color: var(--light);
        }

.facts1 {
    /*   background: linear-gradient(rgba(53, 94, 252, .95), rgba(53, 94, 252, .95)), url(../img/bg.png);*/
    background: linear-gradient(rgb(6, 163, 218), rgb(6, 163, 218)), url(../img/bg.png);
}





 /*Secord csss Start*/

.accordion-bral {
    min-height: 0;
    min-width: 220px;
    width: 100%;
    /*height: 100%;*/
    height: auto;
    background-color: #FFF;
    margin: 0px !important;
}

.accordion-bral .ac-label {
    font-family: 'Nunito', sans-serif;
    padding: 5px 20px;
    position: relative;
    display: block;
    height: auto;
    cursor: pointer;
    /* color: #777;*/
    color: black;
    line-height: 33px;
    font-size: 19px;
    /* background: #EFEFEF;*/
    background: #FFF;
    border: 1px solid #CCC;
}

    .accordion-bral .ac-label:hover {
        /* background: #BBB;*/
        background: #09A7DF;
        color: #FFFFFF;
    }

.accordion-bral input + .ac-label {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.accordion-bral input:checked + .ac-label,
.accordion-bral input:checked + .ac-label:active {
    /* background-color: rgba(79, 79, 79, 0.5) !important;*/

    background: #06A3DA;
    color: #FFFFFF;
    box-shadow: 0px 0px 0px 1px rgba(155, 155, 155, 0.3), 0px 2px 2px rgba(0, 0, 0, 0.1);
}

.accordion-bral input.ac-input {
    display: none;
}

.accordion-bral .article {
    background: #fff;
    /*background: rgb(240, 240, 240);*/
    overflow: hidden;
    height: 0px;
    max-height: auto;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

    .accordion-bral .article p {
        color: #777;
        line-height: 23px;
        font-size: 14px;
        padding: 20px;
    }

.accordion-bral input:checked ~ .article i {
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.accordion-bral input:checked ~ .article.ac-content {
    height: auto;
}

.accordion-bral i {
    position: absolute;
    transform: translate(-30px, 0);
    margin-top: 16px;
    right: 0;
}

.accordion-bral input:checked ~ .ac-label i:before {
    transform: translate(2px, 0) rotate(-45deg);
}

.accordion-bral input:checked ~ .ac-label i:after {
    transform: translate(-2px, 0) rotate(45deg);
}

.accordion-bral i:before, .accordion-bral i:after {
    content: "";
    position: absolute;
    /*background-color: #808080;*/
    background-color: #FFFFFF;
    width: 3px;
    height: 9px;
}

.accordion-bral i:before {
    transform: translate(-2px, 0) rotate(-45deg);
}

.accordion-bral i:after {
    transform: translate(2px, 0) rotate(45deg);
}

ul.ac-list {
    padding-left: 40px;
    list-style-type: disc;
}

table.ac-table {
    margin: 20px 0 20px 20px;
}

    table.ac-table th {
        text-align: left;
    }

@media (max-width: 550px) {
    .accordion-bral .ac-label {
        font-family: Arial, sans-serif;
        padding: 5px 20px;
        position: relative;
        display: block;
        height: auto;
        padding-right: 40px;
        cursor: pointer;
        /*color: #777;*/
        color: black;
        line-height: 33px;
        font-size: 19px;
        /*   background: #EFEFEF;*/
        background: #FFF;
        border: 1px solid #CCC;
    }

    .accordion-bral i {
        position: absolute;
        transform: translate(-30px, 0);
        margin-top: 2%;
        right: 0;
    }
}

/*Secord csss End*/


/*third csss start*/

.arcontainer {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Responsive grid */

    gap: 20px; /* Space between cards */

    padding: 20px;
}


.card {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.2s;
}


    .card:hover {
        transform: translateY(-5px); /* Lift effect on hover */
    }


    .card img {
        max-width: 100%; /* Make images responsive */

        height: auto;
        border-radius: 5px;
        margin-bottom: 15px;
    }


    .card h2 {
        margin: 10px 0;
        font-size: 20px;
        color: #007BFF;
    }


    .card p {
        margin: 5px 0;
        color: #555;
    }


/*third csss End*/