/* Center the whole box */
.centered-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Box container */
.boxDivHolder {
    width: 90%;
    /* Adjust width to perfectly fit the row */
    max-width: 1100px;
    /* Ensures it looks neat */
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Row holding all sections */
.content-row {
    display: flex;
    justify-content: space-between;
    /* Distributes items evenly */
    align-items: center;
    width: 100%;
}

/* Each section (Library, Training, etc.) */
.box {
    flex: 1;
    /* Equal width */
    text-align: center;
    padding: 15px;
    min-width: 180px;
    /* Ensures sections don't get too small */
}

/* Icon Styling */
.icoImg1 {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

/* Section Titles */
.head23LightBlack {
    font-size: 18px;
    font-weight: 600;
    color: #2B3044;
    margin-bottom: 8px;
}

/* More Details Button */
.btnMoreDetail {
    /* Corrected typo from btnMoreDeatil */
    text-decoration: none;
    color: #2B3044;
    font-size: 14px;
    display: block;
    transition: color 0.3s;
}

.btnMoreDetail:hover {
    color: #007bff;
}




/* Custom container for the icon sections */
.custom-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 20px;
    /* Add padding around the container */
}

/* Icon section styling */
.iconDivHorizontal {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    /* Space between rows */
}

/* Content box for each section */
.contentBox {
    background-color: #f9f9f9;
    /* Light background for each box */
    border: 1px solid #ddd;
    /* Light border */
    border-radius: 8px;
    /* Rounded corners */
    padding: 15px;
    /* Padding inside the box */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for depth */
    transition: transform 0.2s;
    /* Smooth transition for hover effect */
}

.contentBox:hover {
    transform: scale(1.02);
    /* Slightly enlarge on hover */
}

.mapIcon {
    margin-right: 15px;
    /* Space between icon and text */
}

.mapTest {
    flex-grow: 1;
    /* Allow text to take remaining space */
}

.head23LightBlackOne {
    margin: 0;
    /* Remove default margin from heading */
}

/* Underline effect for links */
.underline {
    --line: #646B8C;
    --color: #2B3044;
    text-decoration: none;
    color: var(--color);
    position: relative;
    display: inline-flex;
    align-items: center;
}

.underline span {
    background-image: linear-gradient(0deg, var(--line) 0%, var(--line) 100%);
    background-position: 100% 100%;
    background-repeat: no-repeat;
    background-size: var(--background-size, 100%) 1px;
    transition: background-size .2s linear var(--background-delay, .15s);
    font-size: 16px;
    line-height: 20px;
    transform: translateZ(0);
}

.underline svg {
    vertical-align: top;
    display: inline;
    line-height: 1;
    width: 13px;
    height: 20px;
    position: relative;
    left: -2px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1px;
    stroke: var(--line);
    stroke-dasharray: 7.95 30;
    stroke-dashoffset: var(--stroke-dashoffset, 46);
    transition: stroke-dashoffset var(--stroke-duration, .15s) var(--stroke-easing, linear) var(--stroke-delay, 0s);
}

.underline:hover {
    --background-size: 0%;
    --background-delay: 0s;
    --stroke-dashoffset: 26;
    --stroke-duration: .3s;
    --stroke-easing: cubic-bezier(.3, 1.5, .5, 1);
    --stroke-delay: .195s;
}

.img_size {
    width: 100%;
}

.image-box {
    width: 25%;
    text-align: center;
    /* Center-aligns text within the box */
    padding: 15px;
    /* Optional: Add padding for spacing */
    position: relative;
    /* Position relative to contain the overlay */
    overflow: hidden;
    /* Ensures the overlay doesn't exceed the image bounds */
}

.image-box a {
    font-family: 'FrankRuhlLibreLight', Arial, Tahoma;
    /* Set the desired font family */
    color: #000;
    /* Change the text color if needed */
    text-decoration: none;
    /* Remove underline from hyperlinks */
    font-size: 16px;
    /* Adjust font size as needed */
}

.image-container_pg img {
    width: 100%;
    /* Makes the image responsive */
    height: auto;
    /* Maintains aspect ratio */
    border-radius: 15px;
    /* Rounded corners */
    transition: transform 0.3s;
    /* Smooth transition for hover effect */
}

.image-container_pg img:hover {
    transform: scale(1.05);
    /* Slightly enlarges the image on hover */
}

.image-wrapper {
    position: relative;
    /* Position relative for the overlay */
}

.overlay {
    position: absolute;
    /* Position absolute to overlay on the image */
    top: 0;
    /* Aligns to the top */
    left: 0;
    /* Aligns to the left */
    right: 0;
    /* Aligns to the right */
    bottom: 0;
    /* Aligns to the bottom */
    background-color: rgba(0, 0, 0, 0.6);
    /* Black with transparency */
    opacity: 0;
    /* Initially hidden */
    transition: opacity 0.5s;
    /* Smooth transition for opacity */
    border-radius: 15px;
    /* Match the border radius of the image */
}

.image-container_pg:hover .overlay {
    opacity: 1;
    /* Show overlay on hover */
}

html {
    scroll-behavior: smooth;
}

#cssmenu ul ul {
    flex-wrap: wrap;
}


@media screen and (max-width:768px) {

    #cssmenu ul {
        flex-direction: column;
    }

    .content-row {
        flex-wrap: wrap;
        gap: 10px;
    }

    .box {
        min-width: 140px;
        border: 1px solid #000;
    }

    .profile-div-cont {
        flex-direction: column !important;
    }

    .profile-div-cont figure {
        width: 100% !important;
    }

    .img_size {
        flex-wrap: wrap;
    }

    .image-box {
        width: 47%;
        padding: 5px;
    }

    .btnNav {
        flex-wrap: wrap;
    }

    .footer {
        flex-direction: column;
        gap: 15px;
        ;
    }

}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th,
td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

th {
    background-color: #f2f2f2;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f1f1f1;
}

.flexbox {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 10px;
    gap: 16px;
    padding: 16px;
}

.item {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.item img {
    width: 100%;
    display: block;
    border-bottom: 4px solid #f4f4f4;
}

.item .title {
    padding: 8px;
    font-size: 14px;
    color: #555;
    text-align: center;
}

.gallery {
    width: 80%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    padding: 15px;
    margin: 0 auto;
}

.gallery img {
    width: 280px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    margin: 0 5px;
}

.pagination button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

@media screen and (max-width:768px) {
   
    .logo-text {
        font-size: 18px !important;
    }


    .table-overflow {
        overflow: scroll !important;
        ;
    }

    .gallery {
        width: 100%;
        padding: 0px;
        grid-template-columns: 50% 50%;
        justify-items: center;
        align-items: center;
        justify-content: center;
    }

    .gallery img {
        width: 190px;
        height: 150px;
    }

    .abt-div{
        flex-wrap: wrap;
    }
    .left-div,.right-div,.card{
        width: 100%!important;
    }
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.lightbox .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
}

#scrollToTopBtn {
    z-index: 20;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #d6b56d;
    color: #1c3459;
    border: none;
    border-radius: 50%;
    padding: 15px;
    font-size: 20px;
    cursor: pointer;
    display: none;
    /* Hidden by default */
}

#scrollToTopBtn:hover {
    background-color: #0056b3;
    color: #fff;
}

.admission-btn-menu{
    text-decoration: none;
    font-size: 15px;
    color: #172445;
    background-color: #d6b56d;
    border-radius: 5px;
    padding: 5px 10px;
}
.admission-div{
    margin-left: 20px!important;
}