/* ===============================
   ICON WIDTH LOCK (NO SHIFT)
================================ */
.fa, .la, .ti, .flaticon {
    width: 1.25em;
    display: inline-block;
    text-align: center;
}

/* ===============================
   BODY FONT FALLBACK
================================ */
body {
    font-family: "Open Sans", "Roboto", "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}





/* Add font styles for Hindi and English */
.hindi-font {
    font-family: "Hind", serif;
}

.english-font {
    font-family: Arial, sans-serif;
}

/* Add styles for dark and light modes */
.dark-mode {
    background-color: #333;
    color: #fff;
}

.light-mode {
    background-color: #fff;
    color: #333;
}

.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #FFF9E7;
    padding: 5px 10px;
    grid-area: auto;
}

body.lang-en .btn-en {
    display: none;
}

.topbar {
    background-color: #A4243B;
    padding: 5px 40px;
}

.topbar .TopBarBox a {
    color: #fff;
    font-size: 13px;
    border-right: 1px solid;
    border-color: #fff;
}

.top .social-media {
    padding-left: 20px;
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top .social-media a {
    margin-left: 20px;
}

.logo2 {
    width: 100%;
    display: flex;
    align-items: self-end;
    justify-content: end;
}

.logoTitle {
    text-align: center;
}

.logoTitle h2 {
    color: #5B2930;
    font-size: 30px;
    font-family: "Merriweather", serif;
    font-weight: 800;
    margin-bottom: 1px;
    text-transform: uppercase;
}

.logoTitle span {
    font-size: 15px;
    font-weight: 600;
    /* font-family: Poppins, sans-serif; */
    margin-top: 5px;
    color: #273E47;
}

.logoTitle .approv {
    font-size: 12px;
}

.logoTitle .affili {
    font-size: 14px;
}

/* ===============================
   PRINCIPAL IMAGE (CLS SAFE)
================================ */
.imge_prin {
    min-height: 250px; /* reserve space */
    /* width: 500px; */
    /*height: 334px;*/
    height: 475px;
    aspect-ratio: 2 / 3;
    /* object-fit: cover; */
    object-fit: contain;
    /* margin-right: 30px; */
    border-radius: 15px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 7px rgba(0,0,0,0.15);
}

/*.imge_prin img {
    /* width: 500px; 
    height: 400px;
    aspect-ratio: 1 / 1;
    /* object-fit: cover; *
    object-fit: contain;
    margin-right: 30px;
    border-radius: 15px;
    padding: 40px;
    background: #fff;
    box-shadow: 0 0 7px rgba(0,0,0,0.15);
}*/


.imge_prin .desg {
    margin-top: -8px;
}

.imag_p {
    font-size: 15px;
    /*font-weight: 400;*/
    font-weight: 400;
    text-align: justify;
}

@media (max-width: 768px) {
    .imge_prin img {
        margin-right: 0; /* REMOVE negative margin */
    }
    
    .img_prin{
        height: 328px;
    }
    
}



@media (max-width: 786px) {
    .top {
        padding: 0;
    }

    .logoTitle {
        display: none;
    }

    .logo2 {
        display: none;
    }

    .topbar {
        padding: 10px 20px;
    }

    .topbar .TopBarBox a {
        font-size: 13px;
        font-weight: 500;
    }
}

.scroll-text-wrapper {
        position: relative;
        overflow: hidden;
        width: 100%;
        max-height: 50px;
    }
    .scroll-text12 {
        display: inline-block;
        white-space: nowrap;
        position: absolute;
        animation: scroll 20s linear infinite;
    }
    .scroll-text13 {
        display: inline-block;
        white-space: nowrap;
        position: absolute;
        animation: scroll 40s linear infinite;
    }
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }
    .scroll-text12:hover {
        animation-play-state: paused;
    }
    @media (max-width: 576px) {
        .sw {
            padding: 0px;
        }
        .scroll-text12 {
            font-size: 12px;
        }
        b {
            font-size: 12px;
            line-height: 45px;
        }
        .col-3 {
            max-height: 45px;
        }
    }
    @media (max-width: 575.98px) {
        .sw {
            padding: 0px 5% !important;
        }
    }
    @media (min-width: 768px) and (max-width: 991.98px) {
        .sw {
            padding: 0px 3% !important;
        }
    }
    @media (min-width: 992px) and (max-width: 1199.98px) {
        .sw {
            padding: 0px 2% !important;
        }
    }
    @media (min-width: 1200px) and (max-width: 1499.98px) {
        .sw {
            padding: 0px 1% !important;
        }
    }
    @media (min-width: 1500px) {
        .sw {
            padding: 0px 6% !important;
        }
    }
    @media (min-width: 1900px) {
        .sw {
            padding: 0px 100px !important;
        }
    }
    .sw {
        padding: 0px 3% !important;
    }
.box{
    background-color: #ccc;
    border-radius: 20px;
    margin-bottom: 100px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    transition: 0.5s;
}

.box:hover {
    transform: translateY(-20px);
  }
.box .box_body{
    width: 100%;
    margin-bottom: 15px;
    padding: 20px;
}

.box .box_body .box_btn{
    background-color: #5B2930;
    color: #fff;
    padding: 5px 20px ;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    font-size: 14px;
}
.box .box_body .box_btn i{
    font-size: 15px;
    font-weight: 400;
}

.box .box_body .box_btn:hover{
    background-color: #172033;
    color: #fff;
}

.card23>a>img
 {
    max-width: 100%;
    height: 60px;
    border-radius: 5px;
}
/* From Uiverse.io by gharsh11032000 */ 
.card-box {
    width: 300px;
    height: 200px;
    border-radius: 8px;
    color: #000;
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    cursor: pointer;
    background-position: center;
    background-size: contain;
    padding: 20px;
    background-repeat: no-repeat;
  }
  
  .card-box-content {
    padding: 10px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    color: white;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
  }
  
  .card-box-content .card-box-title {
    font-size: 24px;
    font-weight: 700;
    color: #242222;
    text-transform: uppercase;
  }
  
  .card-box-content .card-box-para {
    color: inherit;
    opacity: 0.8;
    font-size: 14px;
  }
  
  .card-box:hover {
    transform: rotateY(10deg) rotateX(10deg) scale(1.05);
    box-shadow: 0 10px 20px rgba(60, 60, 60, 0.2);
  }
  
  .card-box:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#4a4c4c2d, rgba(221, 217, 200, 0.49));
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: 1;
  }
  
  .card-box:hover:before {
    transform: translateX(-100%);
  }
  
  .card-box:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.1));
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: 1;
  }
  
  .card-box:hover:after {
    transform: translateX(100%);
  }
  

.viewbtn {
    margin-left: 35rem;
}

.card {
    position: relative;
    width: 100%;
    height: auto;
    background: #fff9e7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: bold;
    border-radius: 15px;
    cursor: pointer;

} 
/*.ctr12 {*/
/*        padding: 0px;*/
/*        transform: translateY(-20px);*/
/*    }*/
    .ctr12 .sa {
        height: 80px;
        width: 100%;
        background: linear-gradient(to right, #DC143C, #FF6347);
        border-radius: 25px 0px 25px 0px;
        color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        transition: transform 0.3s;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        padding: 10px;
    }
    .ctr12 .sa1 {
        height: 80px;
        width: 100%;
        background: linear-gradient(to right, #DC143C, #FF6347);
        color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        transition: transform 0.3s;
        padding: 10px;
    }
    .sa img {
        width: 50px;
        height: 50px;
        margin-top: 10px;
    }
    .sa:hover {
        border-radius: 0px 25px 0px 25px;
        transform: scale(1.1);
    }
    .sa p {
        font-size: 20px;
        margin-top: 10px;
    }
    .sa1 b {
        font-size: 20px;
        margin-top: 10px;
    }
    /*.sa1 p {*/
    /*    font-size: 20px;*/
    /*    margin-top: -3px;*/
    /*}*/

.bbt {
    position: relative;
    z-index: 999;

}
/* Container Styles */
.media-container {
    max-width: 100%;
    padding: 20px;
}

/* Section Titles */
.media-title,
.feedback-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
}

.media-title {
    color: red;
}

.feedback-title {
    color: #333;
}

/* Home Icon */
.home-icon {
    font-size: 22px;
    vertical-align: middle;
}

/* Media Marquee */
.media-marquee {
    overflow: hidden;
    position: relative;
    border: 3px solid black;
    border-radius: 10px;
    height: 320px;
    padding: 0;
}

.media-images {
    display: inline-flex;
    animation: scroll-left 30s linear infinite;
}

.media-images img {
    width: 290px;
    height: 310px;
    margin: 0 6px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    object-fit: cover;
}

.media-marquee .media-images:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* adjust based on number of images */
}

/* Feedback Cards */
.feedback-card {
    display: flex;
    align-items: center;
    width: 780px;
    margin: 0 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 15px;
    overflow: hidden;
    background-color: #fff;
    height: 310px;
}

/* Student Image */
.student-image {
    width: 150px;
    height: 170px;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
    object-fit: cover;
}

/* Feedback Content */
.feedback-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
}

/* Feedback Text */
.feedback-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    width: 100%;
    margin-top: 20px;
    font-family: cursive;
    font-size: 17px;
    font-weight: bold;
}

.bv1 {
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Horizontal marquee (not media-images) */
.marquee-horizontal {
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    border-radius: 5px;
    padding: 5px 0;
}

.marquee-horizontal ul {
    display: inline-block;
    padding-left: 100%; /* start off-screen right */
    animation: marquee 15s linear infinite;
    list-style: none;
    margin: 0;
}

.marquee-horizontal ul li {
    display: inline-block;
    margin-right: 50px; /* space between items */
}

.marquee-horizontal ul li a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
}

.marquee-horizontal ul li a:hover {
    text-decoration: underline;
}

.marquee-horizontal ul:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); } /* scroll full width */
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .media-images img {
        width: 200px;
        height: 220px;
        margin: 5px auto;
    }

    .feedback-card {
        width: 90%;
        flex-direction: column;
        height: auto;
    }

    .student-image {
        width: 120px;
        height: 140px;
        margin-bottom: 10px;
    }

    .feedback-text {
        margin-top: 10px;
        font-size: 15px;
    }

    .marquee-horizontal ul li {
        margin-right: 20px;
    }
}
.card::before,
.card::after {
    position: absolute;
    /*content: "";*/
    width: 20%;
    height: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: bold;
    /* background-color: #35081124; */
    background-color: #d8a53729;
    transition: all 0.5s;
}

.card::before {
    top: 0;
    right: 0;
    border-radius: 0 15px 0 100%;
}

.card::after {
    bottom: 0;
    left: 0;
    border-radius: 0 100% 0 15px;
}

.card:hover::before,
.card:hover:after {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    transition: all 0.5s;
}

/* .card:hover:after {
    content: "";
} */

@media (max-width: 768px) {
    .viewbtn {
        margin-left: 40px;
    }
}

.action-area {
    height: 200px;          
    overflow-y: auto;       
    /*border: 1px solid #ccc; */
    padding: 5px;           
    background: #f9f9f9;    
    position: relative;      /* Remove absolute positioning for UL */
}

.action-area ul {
    list-style: none;       
    margin: 0;
    padding: 0;
}

.action-area li {
    padding: 5px 0;         
    border-bottom: 1px solid #eee;
}

.department-img {
    width: 100%;        /* Take full width of container */
    height: 800px;      /* Set the desired height */
    object-fit: cover;  /* Cover the area without distortion */
    display: block;     /* Remove any inline spacing */
    border-radius: 5px; /* Optional: rounded corners */
}
