body {
    background: white;
}

#home{
    padding:  10px;
    margin: 5px 10px;
    font-size:large;
}

#home:hover {
    color: gold;
    transition: 0.9s;

   

}

#home:hover{
   background: linear-gradient(60deg, #fce302, #fc1f02);
   margin-top: 2px;
    color: black ;
    border-radius: 10px;
    
}

.slider-img{
    object-fit: cover;
    filter: brightness(50%);
    filter: blur(3px);
    transform: scale(1.01);
background: rgba(0, 0, 0, 0.55);

}

.carousel-caption{
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    z-index: 1;
}
.carousel-caption h1 {
    font-size: 50px;
    font-weight: bold;
    color: red;
    -webkit-text-stroke: 1px white;
    text-shadow: 10px 10px 7px #000;
}

.carousel-caption p{
    font-size: 22px;
    color: rgb(255, 254, 254);
    text-shadow: 10px 10px 7px #000;
    font-family:initial;
    
}

#quick-text{
    display: inline-block;
    transition: transform 0.5s ease;
    cursor: pointer;
}

#quick-text:hover{
    transform: translateX(25px);
    color: rgb(233, 151, 9);
}

#principal-img img{
width: 100%;
height: 400px;
border-radius: 50%;
object-fit:cover ;
border: 5px solid gold;

}

.teacher-card{
    background:rgb(53, 54, 66);
    border-radius:15px;
    overflow:hidden;
    text-align:center;
    padding:20px;
    
}

.teacher-card img{
    width:100%;
    height:350px;
    object-fit:cover;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
    border-radius: 100%;
    border: 5px solid rgb(255, 0, 13);
}

.teacher-card h3{
    margin:15px 0 5px;
}

.teacher-card p{
    color:#666;
}

.header-middle{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo-section{
    width: 35%;
}
.header-content{
    width: 65%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    
}
@media (max-width: 921px) {
    .header-content{
        display: none;
    }
   .logo-section{
    width: 100%;
    text-align: center;
   }
   .logo-section img{
    width: 90%;
    max-width: 450px;
    height: auto;
   }
}





#about1{
     background-image: url('../img/profile.jpg');
    height: 400px;
}
#blur{
 backdrop-filter:blur(5px);   
}




.latest-news {
    background: #f8f9fa;
}

.latest-news h2 {
    font-weight: 700;
    margin-bottom: 10px;
}

.news-list {
    max-width: 850px;
    margin: auto;
}

.news-item {
    background: white;
    padding: 18px 22px;
    margin-bottom: 12px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}

.news-title {
    font-size: 17px;
    font-weight: 600;
}

.news-title i {
    margin-right: 10px;
}

.news-link {
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.news-link:hover {
    text-decoration: underline;
}

@media (max-width: 576px) {

    .news-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-link {
        margin-left: 30px;
    }

}




/* ================================
   FACILITIES CARDS
================================ */

.facilities-section {
    width: 100%;
    padding: 50px 0;
    background: #fff;
}

.facilities-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.facility-card {
    min-height: 360px;
    padding: 30px 20px;
    border-radius: 12px;
    color: white;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.20);
}


/* Icons */

.facility-icon {
    font-size: 55px;
    margin-bottom: 25px;
    text-align: center;
}

.facility-icon i {
    color: #fff;
}


/* Heading */

.facility-card h3 {
    color: #fff;
    font-size: 27px;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: left;
}


/* Small line */

.card-line {
    width: 55px;
    height: 3px;
    background: #fff;
    margin-bottom: 18px;
}


/* Paragraph */

.facility-card p {
    color: #fff;
    font-size: 17px;
    line-height: 1.8;
    margin: 0;
    text-align: left;
}


/* Card Colors */

.card-blue {
    background: linear-gradient(135deg, #0645c5, #0879e8);
}

.card-red {
    background: linear-gradient(135deg, #e42b20, #f0442f);
}

.card-pink {
    background: linear-gradient(135deg, #e72b8a, #ee4ca8);
}

.card-green {
    background: linear-gradient(135deg, #087c2b, #249d3b);
}

.card-light-blue {
    background: linear-gradient(135deg, #0874d8, #12a8e8);
}


/* ================================
   TABLET
================================ */

@media (max-width: 1100px) {

    .facilities-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}


/* ================================
   MOBILE
================================ */

@media (max-width: 768px) {

    .facilities-section {
        padding: 30px 15px;
    }

    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .facility-card {
        min-height: 320px;
        padding: 22px 16px;
    }

    .facility-icon {
        font-size: 45px;
    }

    .facility-card h3 {
        font-size: 22px;
    }

    .facility-card p {
        font-size: 15px;
        line-height: 1.6;
    }

}


/* ================================
   SMALL MOBILE
================================ */

@media (max-width: 480px) {

    .facilities-grid {
        grid-template-columns: 1fr;
    }

    .facility-card {
        min-height: auto;
    }

}



.college-heading {
    text-align: center;
    margin:80px 0 50px;
}

.college-heading h2 {
    font-size: 42px;
    font-weight: 700;
    color: #b52222;
    margin: 0px;
    line-height: 1.4;
}

.heading-line {
    width: 210px;
    height: 18px;
    margin: 15px auto 0;
    border-top: 3px solid #b52222;
    border-bottom: 3px solid #b52222;
}


