.col-lg-4,
.col-lg-8 {
    padding: 10px;
}

.card {
    border: none !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out !important;
    background-color: #fff !important;
    height: 28% !important;
    top: 4% !important;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-body {
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.card-title {
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
    color: #333;
}

.card-text {
    font-size: 16px;
    color: #555;
    margin-top: 10px;
}

.icon {
    width: 60px;
    height: 60px;
}

.arrow-btn {
    position: absolute;
    right: -5px;
    bottom: -10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #555;
    transition: color 0.3s;
}

.arrow-btn:hover {
    color: #000;
}

.employability {
    padding: 0px 0;
    height: 100%;
}

.employability_box {
    padding: 20px;
    background: #fff;
    border-radius: 5px;
}

.bold_text {
    font-weight: bold;
}

.text-justify {
    text-align: justify;
}
.placement-record-detail:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.placement-record-detail h3,
.placement-record-detail p {
    transition: color 0.3s ease, transform 0.3s ease;
}

.placement-record-detail:hover h3,
.placement-record-detail:hover p {
    color: #9b1d1c;; /* Change text color on hover */
    transform: scale(1.1); /* Slightly enlarge the text on hover */
}
        .custom-btn {
            font-size: 1.5rem;
            /* Increase font size */
            padding: 1rem 2rem;
            /* Increase padding */
        }

        .custom-btn-large {
            font-size: 2rem;
            /* Even larger font size */
            padding: 1.5rem 3rem;
            /* Even larger padding */
        }

        .modal-content {
            border-radius: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
            animation: rotateIn 0.8s ease-out;
            background: #ffffff;
            color: #343a40;
        }

        .modal-header {
            border-bottom: none;
            background: #f8f9fa;
            border-top-left-radius: 20px;
            border-top-right-radius: 20px;
        }

        .modal-title {
            color: #343a40;
            font-weight: bold;
        }

        .close {
            color: #343a40;
            opacity: 1;
        }

        .close:hover {
            color: #d9534f;
        }

        .modal-body {
            padding: 2rem;
            position: relative;
            background-color: #222;
        }

        .icon {
            width: 80px;
            height: auto;
            opacity: 0;
            animation: fadeIn 1s ease-out forwards 0.5s;
        }

        .delayed-text {
            color: #fff;
            opacity: 0;
            animation: fadeIn 1s ease-out forwards 1s;
        }

        @keyframes rotateIn {
            from {
                opacity: 0;
                transform: rotate(-180deg);
            }

            to {
                opacity: 1;
                transform: rotate(0deg);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }
        .service-box {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .service-box:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        .icon {
            width: 60px;
            height: auto;
        }

        .text-white h3,
        .text-white p {
            color: #fff;
        }
        .gallery {
            padding: 20px;
            background-color: #ffff; /* Light grey background */
            /*border-radius: 10px;*/
            text-align: center;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .gallery:hover {
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
        }
        
        .gallery h3 {
            font-size: 2.5rem;
            color: #9b1d1c; /* Bootstrap primary color */
            margin-bottom: 0;
            font-weight: bold;
            transition: color 0.3s ease, transform 0.3s ease;
        }
        
        .gallery h3:hover {
            color: #250558; /* Change text color on hover */
        }
                .prev,
                .next {
                    cursor: pointer;
                    position: absolute;
                    top: 50%;
                    width: auto;
                    padding: 16px;
                    margin-top: -50px;
                    color: white;
                    font-weight: bold;
                    font-size: 20px;
                    transition: 0.6s ease;
                    border-radius: 0 3px 3px 0;
                    user-select: none;
                }
        
                .next {
                    right: 0;
                    border-radius: 3px 0 0 3px;
                }
        
                .prev {
                    left: 0;
                    border-radius: 3px 3px 0 0;
                }
        
                .prev:hover,
                .next:hover {
                    background-color: rgba(0, 0, 0, 0.8);
                }
        
                /* Caption */
                .caption_model {
                    position: absolute;
                    bottom: 0;
                    left: 50%;
                    transform: translateX(-50%);
                    background: rgba(0, 0, 0, 0.7);
                    color: #fff;
                    padding: 10px;
                    text-align: center;
                    border-radius: 0 0 10px 10px;
                    width: 90%;
                    /* Adjusted to fit within modal */
                    box-sizing: border-box;
                    font-size: 16px;
                }
        
                .carousel-caption {
                    margin-top: 10px;
                    /* Space between the images and the text */
                    font-size: 1.2em;
                    /* Adjust font size as needed */
                    text-align: center;
                    color: #333;
                    /* Text color */
                }
        
                .modal {
                    display: none;
                    position: fixed;
                    z-index: 1;
                    left: 0;
                    top: 0;
                    width: 100%;
                    height: 100%;
                    overflow: auto;
                    background-color: rgb(0, 0, 0);
                    background-color: rgba(0, 0, 0, 0.9);
                }
        
                .modal-content {
                    margin: auto;
                    display: block;
                    width: 80%;
                    max-width: 700px;
                    top: 25%;
                }
        
                .modal-content,
                #caption {
                    animation-name: zoom;
                    animation-duration: 0.6s;
                }
        
                @keyframes zoom {
                    from {
                        transform: scale(0)
                    }
        
                    to {
                        transform: scale(1)
                    }
                }
        
                .close {
                    position: absolute;
                    top: 15px;
                    right: 35px;
                    color: #f1f1f1;
                    font-size: 40px;
                    font-weight: bold;
                    transition: 0.3s;
                }
        
                .close:hover,
                .close:focus {
                    color: #bbb;
                    text-decoration: none;
                    cursor: pointer;
                }
        
        
                .carousel-container {
                    width: 100%;
                    height: 100%;
                    overflow: hidden;
                    /* border: 5px solid #ccc; */
                    /*border-radius: 10px;*/
                    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
                }
        
                .carousel {
                    display: flex;
                    animation: scroll 20s linear infinite;
                }
        
                .carousel img {
                    height: 250px;
                    width: auto;
        
                    object-fit: cover;
                    border-right: 5px solid #fff;
                }
        
                .caption_model {
                    margin: 10px !important;
                }
        
                .caption {
                    margin: auto;
                    display: block;
                    width: 80%;
                    max-width: 700px;
                    text-align: center;
                    color: #ccc;
                    padding: 10px 0;
                    height: 150px;
                    position: absolute;
                    bottom: 0;
                    left: 50%;
                }
        
        
                    @keyframes scroll {
                        0% {
                            transform: translateX(0);
                        }
        
                        100% {
                            transform: translateX(calc(-350px * 5));
                        }
                    }
                    .service-box {
                        transition: transform 0.3s ease, box-shadow 0.3s ease;
                    }
            
                    .service-box:hover {
                        transform: translateY(-10px);
                        box-shadow: 0 10px 20px rgba(73, 72, 72, 0.1);
                    }
            
                    .icon {
                        width: 60px;
                        height: auto;
                    }
            
                    .text-white h3,
                    .text-white p {
                        color: #fff;
                    }
                    .logo-carousel {
                        width: 100%;
                        overflow: hidden;
                        background-color: #fff;
                        /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); */
                        /*border-radius: 10px; */
                        padding: 20px 0; /* Add some padding to create space around the logos */
                        position: relative;
                    }
                    figure img {
                        display: inline-block;
                        margin-bottom: 15px;
                        margin-left: 0px !important;
                    }
            
                    /* .logo-carousel {
                        width: 100%;
                        overflow: hidden;
                        border: 2px solid #ddd;
                        background-color: #fff;
                        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
                    }
             */
                    .carousel-track {
                        display: flex;
                        width: max-content;
                        animation: scroll 150s linear infinite;
                    }
            
                    .carousel-track img {
                        max-width: 100%;
                        height: 150px;
            
                    }
            
                    @keyframes scroll {
                        0% {
                            transform: translateX(0);
                        }
            
                        100% {
                            transform: translateX(-100%);
                        }
                    }
            
                    .logo-carousel h3 {
                        color: var(--primary-color1);
                        font-weight: bold;
                        font-size: 24px;
                        font-family: var(--primary-font1);
                        text-align: center;
                        margin-bottom: 0rem;
                        margin-top: 10px;
                    }
                    .placement-record-banner {
                        position: relative;
                        overflow: hidden;
                        border-radius: 0px;
                        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
                        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
                        border: 5px solid  #220659;; /* Border color */
                    }
            
                    .placement-record-banner:hover {
                        transform: scale(1.05);
                        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
                    }
            
                    .placement-record-banner img {
                        width: 100%;
                        height: auto;
                        display: block;
                        border-radius: 0px;
                        transition: transform 0.3s ease-in-out;
                    }
            
                    .placement-record-banner:hover img {
                        transform: scale(1.1); /* Slight zoom effect */
                    }