/*
@Author: ThemeMascot
@URL: http://ThemeMascot.com

This is the file where you can add your custom styles to change the look of the
theme. But don't modify style-main.css file.

*/

/* Your custom css codes start here: */

.single-teacher {
    position: relative;
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    width: 250px;
    /* Set a fixed width for the card */
    transition: all 0.3s ease;
}

.single-teacher-img {
    position: relative;
    width: 100%;
    height: 350px;
    /* Fixed height for the image */
    overflow: hidden;
}

.single-teacher-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-teacher-content {
    background: #fff;
    bottom: -70px;
    /* Start hidden below the image */
    left: 0;
    padding: 20px 0;
    position: absolute;
    width: 100%;
    transition: all 0.5s ease 0s;
    /* Smooth transition */
    opacity: 0;
    /* Initially hidden */
    height: 0px;
    /* Fixed height to show some initial content */
}

.single-teacher:hover .single-teacher-content {
    bottom: 0;
    /* Move content up on hover */
    opacity: 1;
    /* Show content on hover */
    height: auto;
    /* Allow height to adjust when hovering */
}

.single-teacher-content h3 {
    margin: 0;
    font-size: 22px;
    text-align: center;
    display: none;
    /* Hide name initially */
}

.single-teacher-img h3 {
    position: absolute;
    bottom: 10px;
    /* Position it within the image */
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    /* Make text white for better visibility */
    background-color: rgba(0, 0, 0, 0.6);
    /* Semi-transparent background */
    padding: 8px;
    margin: 0;
}

.single-teacher-content h5 {
    margin: 10px 0;
    text-align: center;
    font-size: 18px;
    color: #555;
}

/* Additional styles for responsiveness */
@media (max-width: 400px) {
    .single-teacher {
        width: 90%;
        /* Adjust for smaller screens */
    }
}

.feature-card {
    background-color: white;
    border-radius: 8px;
    border: 2px solid #00C3CB;
    /* Border color */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 10px;
    height: 90px;
    /* Set height for the cards */
    display: flex;
    /* Use flexbox for layout */
    align-items: center;
    /* Vertically center content */
    /* Set a width for the cards */
    transition: all 0.3s ease;
    /* Smooth transition for hover effects */
    
}

.feature-card:hover {
    /* Change background color on hover */
    transform: scale(1.03);
    /* Slightly scale up the card */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    /* Increase shadow on hover */
    color: #00C3CB;
}

.feature-icon {
    font-size: 40px;
    /* Icon size */
    margin-right: 15px;
    /* Space between icon and content */
    
}

.feature-content {
    display: flex;
    flex-direction: column;
    /* Stack title and paragraph vertically */
}

.feature-content h3 {
    color: #333;
    margin: 0;
    /* Remove default margin */
    font-size: 16px;
    /* Adjust font size */
}

.feature-content p {
    color: #666;
    font-size: 12px;
    /* Adjust font size */
    margin: 0;
    /* Remove default margin */
}

.facility-card {
    background-color: #ffffff; /* Card background color */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Box shadow */
    width: 100%; /* Full width of the container */
    margin-bottom: 20px; /* Space between cards */
    overflow: hidden; /* Ensure no overflow */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
    position: relative; /* Positioning context */
}
.facility-card::after {
    content: "";
    position: absolute;
    width:0;
    height: 4px;
    background-color: #00C3CB;
    left: 0;
    bottom: 0;
    transition: width 0.3s ease;
    margin-left: auto;
    margin-right: auto;
    right: 0;
}
.facility-card:hover::after {
    width: 100%;
}

.facility-card-image {
    width: 100%; /* Image takes full width of the card */
    height: 100%; /* Set a fixed height for the image */
    object-fit: cover; /* Cover the container without distortion */
}

 .facility-title {
    padding: 15px;
    font-size: 1.2rem;
    color: #333;
    position: relative;
    display: inline-block;
    height: 45px;
    overflow: hidden;
    font-weight: 400;
}
/* .tag {
    position: absolute;
    left: -40px; 
    top: 10%;
    transform: translateY(-50%);
    background-color: #003366; 
    color: #fff;
    padding: 5px 10px;
    border-radius: 0 5px 5px 0;
    opacity: 0; 
    transition: left 0.3s ease, opacity 0.3s ease; 
} */

.facility-card:hover .tag {
    left: 0; /* Move the tag into view on hover */
    opacity: 1; /* Show the tag */
}
/* .facility-title::after {
    content: "";
    position: absolute;
    width:0;
    height: 3px;
    background-color: #00C3CB;
    left: 0;
    bottom: 0;
    transition: width 0.3s ease;
    margin-left: auto;
    margin-right: auto;
    right: 0;
}  */

/* .facility-title:hover::after {
    width: 100%;
} */

.facility-description {
    font-size: 1em; /* Description size */
    color: #666; /* Description color */
    margin-bottom: 15px; /* Space below description */
}


.faculty-table {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 8px;
   padding-bottom: 0;
  
}

.faculty-table thead {
    background-color: #00C3CB;
    color: #fff;
    border: 2px solid #00C3CB;
}
.faculty-table  td{
    border: 2px solid #00C3CB;
}
.faculty-table tbody{
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.faculty-table tbody tr:hover{
  background-color: #e2e0e0;
}
.faculty-table th {
text-align: center;
}
.faculty-table thead td{
    border: 1px solid white;
}
.header-icon{
    background-color: #fff;
    color: #00C3CB;
    border: 1px solid white;
    border-radius: 50%;
}
.header-icon i{
    color: #00C3CB;
}
.heading-line-bottom{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    max-height:2em;
}
.form-control{
    border: 1px solid #00C3CB;
}
.btn-info{
    background-color: #00C3CB;
}
.btn-default{
 border:1px solid #00C3CB;
}
form{
    border: 1px solid #00C3CB;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.1);
}

.owl-item p {
    margin: 0 0 0px;
}

.header-top {
    border-bottom: 1px solid aqua;
}

.menuzord-menu>li>a {
    padding: 10px 13px;
}

.cont-icon{
    color: #00C3CB;
}
.media-body span a:hover{
    color: #00C3CB;
}
.media-body p:hover{
    color: #00C3CB;
}
.media-body p a:hover{
    color: #00C3CB;
}
.breadcrumb-item a{
    color: #fff;
}
.breadcrumb-item a:hover{
    color: #00C3CB;
}
.Album-heading{
    width: 100%;
    padding: 10px 0;
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    color: #00C3CB;
}
.Album-heading h3{
    color: #00C3CB;
}

.gallery-item h4 a{
    color: #00C3CB;
}

.achievement-card {
    border-right: 2px solid #fff;
    background: #00C3CB;
}

.achievement-card i {
    color: #fff;
}

.achievement-card h4 {
    color: #fff;
    font-size: 25px;
}

.tab-pane .gallery-item {
    position: relative;
}

.styled-icons.icon-bordered a {
    border: 1px solid #fff;
    color: #fff;
}

.footer a {
    color: #fff;
}
.footer a:focus,
.footer a:hover,
.footer a:active {
    color: #ffffff;
}
@media screen and (max-width: 1150px) {
    .college_title {
        font-size: 45px;
    }
    
    .menuzord-menu > li > a {
        font-size: 10px;
    }
}