/* Custom Styles */
.school-info {
    margin-top: 10px;
}

.school-name {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.school-affiliation {
    font-size: 0.8rem;
    color: #555;
}

/* Adjust spacing as needed */
/*.logo {*/
/*    margin-right: 10px;*/
/*    width: 75px;*/
/*}*/

.logo {
    margin-left: -50px;
    width: 75px;
}

.login {
    /*margin-left: 10px;*/
    margin-left: -24px;
}

/* Media Query for Mobile View */
@media (max-width: 767px) {
    .school-info {
        text-align: center;
    }
    
    .logo,
    .login {
        margin: 0; /* Remove margin for mobile view */
    }
    .header_background
{
    background-color:white !important;
}

.menu-area {
padding: 0px; 
 }
.mean-container .mean-bar {

    right: -10px;
    left: auto;
    top: -15px;

}

}

/*.logo_1*/
/*{*/
/*    margin-left: 234px !important;*/
/*}*/
.logo_1 {
    margin-left: 150px !important;
    width: 180px;
}


.header_background
{
    background-color: #220a5d;
}
.service-details-two {
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: 2s; /* Adjust the delay as needed */
  }

  @keyframes fadeIn {
    to {
      opacity: 1;
    }
  }
  .img1 {
    background-size: cover;
    border: 0px !important;
}
.text-justify
{
    text-align: justify;
}
.card .card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 0px;
    color: #2c254f;
}
.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    transition: background-color 0.3s ease-in-out;
}
.HIGHLIGHTS h2 {
	font-size: 50px;
	padding-bottom: 0;
	margin-bottom: 0px !important;
	position: relative;
    margin-top: -25px !important;
}
/* Add a class for animation delay */
.animated-delay {
    opacity: 0; /* Initially hide the elements */
    animation-fill-mode: forwards; /* Retain the final state of the animation */
}

/* Define the animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 50%, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Apply the animation to each element with a different delay */
.animations-06 img,
.animations-07 img,
.animations-08 img,
.animations-09 img {
    animation: fadeInUp 0.6s ease-out;
}

/* Add different animation delays to each image */
.animations-06 img {
    animation-delay: 0.4s;
}

.animations-07 img {
    animation-delay: 0.8s;
}

.animations-08 img {
    animation-delay: 1.2s;
}

.animations-09 img {
    animation-delay: 1.6s;
}
.footer_logo
{
    /*width: 200px;*/
    /*height: 200px;*/
    background-color: cornsilk
}

.footer_design
{
    display: flex;
    align-content: center;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.mxx-2 {
    margin-right: -7.5rem!important;
    margin-left: 11.5rem!important;
}

.servicess-box{
    border-radius: 8px;
 background-color: rgba(233, 229, 229, 0.8);
   padding: 40px 50px;
   height: 975px;
}
@media (min-width: 1200px) and (max-width: 1500px)
{
.second-menu .main-menu ul li {
  margin-left: 15px ;
}

.second-menu.main-menu.main-menu_1 li a
 {
      margin-left: 100px !important;
 }
}

.main-menu_1
{
    margin: -10px;
}
.has-sub_2
{
    margin-left: 30px !important;
   
}
.second-menu .main-menu ul li:first-child {
    margin-left: 0px !important;
}
.second-menu .main-menu ul li:second-child{
    margin-left: 0px !important;
}
.main-menu_2 li
{
    margin-left: 30px !important;
}
.f-contact a {
    color: #b2c0d8 !important;
    font-size: 14px;
}
.Foundation
{
    font-size: 20px;
  align-items: center;
    color: aliceblue;
}
.grade
{
    font-size: 15px;
    text-align: center; 
    color:#2c254f;
    margin-top: -30px;
}
.align
{
    margin-top: 10px;
}
.Why_pes {
        /* width: 600px;
    height: 236px; */
            width: 600px;
            max-width: 600px;
            margin: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 1.1);
            padding: 20px;
            border-radius: 8px;
            margin-top: -15px;
            margin-right: 20px;
            margin-left: 0px;
}
.Why_pes_1
{
    width: 600px;
    height: 236px; 
    max-width: 600px;
    margin: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 1.1);
    padding: 20px;
    border-radius: 8px;
    margin-top: -15px;
    margin-right: 20px;
    margin-left: 0px;
}

.Why_pes  h3 {
    color: #fff;
}

.Why_pes  p {
    font-size: 15px;
    color: darkgray;
    /* color: #fff; */
}

.Why_pes  ul {
    list-style: none;
    padding: 0;
}

.Why_pes ul li {
    margin-bottom: 8px;
    color: darkgray;
}
.card-body p{
    color: black !important;
}
.icon_class 
{
    color: #fff;
    margin-right: 10px;
}
/*.second-header-btn .btn {*/
/*    margin-left: -33px;*/
/*}*/
.second-header-btn .btn {
    padding: 6px 4px !important;
}
..main-menu
{
    margin:10px;
}
.Foundation
{
    text-align: center;
}

/* Mobile view styles */
@media only screen and (max-width: 767px) {

    
    .slider-bg {
        background-position: center center; /* Adjust background position for mobile */
        min-height: 100px !important; /* Adjust min-height for mobile */
    }
    .single-slider
    {
        height: 150px !important;
    }
    .service-details-two
     {
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .services-box07
    {
        margin-bottom: 25px;
    }
    .about-area
    {
        margin-top: -40px;
    }
    .about-title h2 
    {
        font-size: 25px;
    }
    .steps-area {
         padding-top:20px; 
    }
    .Why_pes {
     
        margin-right: -20px;

    }
     .HIGHLIGHTS h2 {
    font-size: 30px;
    padding-bottom: 0;
    margin-bottom: 0px !important;
    position: relative;
    margin-top: -25px !important;
    }
  
    .p-relative {
        position: relative;
        margin-bottom: -20px;
        margin-top: -40px;
    }
    .s-about-img.p-relative {
        
        margin-top: 35px;
    }
    .about-content
    {
        margin-top: -35px;
    }
    .about-title
    {
        padding-bottom: 5px !important;
    }
    .section-title h2 {
        font-size: 20px !important;
        text-align: center;
        margin-top: 100px;
        margin-bottom: 35px !important;
    }
    .team-thumb {
        position: relative !important;
        overflow: hidden !important;
        flex-direction: column;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) !important;
        height: 200px !important;
        width: auto !important;
    }
    .team-area-content 
    {
        padding-top: 60px  !important;
    }
    .team-area-content 
    {
        padding-top:0px;
    }
    .team-info {
        margin-top: -65px;
    }.s-about-content h2 
    {
        font-size: 25px;
        text-align: center;
    }
    .co_ordinator
    {
        margin-top: 60px !important; 
    }
    .servicess-box {
        border-radius: 8px;
        background-color: rgba(233, 229, 229, 0.8);
        padding: 40px 50px;
        height: 975px;
        background-size: contain;
    }
    .breadcrumb-area {
        background-size: cover;
        position: relative;
        min-height: 126px !important;
        background-repeat: no-repeat;
        background-color: #000;
        margin-bottom: 50px !important;
    }

    .institutions h2 {
        font-size: 30px;
        padding-bottom: 0;
        margin-bottom: 0px !important;
        position: relative;
        margin-top: 0px !important;
    }
    .CURRICUlAM
    {
        margin-top: 0px !important;

    }
    .acamedics {
        margin-bottom: -60px !important;
    }
    main section .about-title h2 
    {
        font-size: 24px;
        color: #162542;
        padding-top: 25px;
    }
    .alumini_photo
    {
        margin-left: -15px;
        margin-right: 15px;
    }
    .classroom_button
    {
        margin-top: -60px;
        margin-bottom: 10px;
    }
    .gallery_image
    {
        margin-top: 15px;
    }
    


 
} 
.text-justify {
    text-align: justify;
}
.section-title p {
    width: 100%;
    text-align: center;
    text-align: justify;
}
.hover-zoomin img 
{
    width: 100%;
    height: 226PX;
}
.courses-content {
    padding: 30px;
    float: left;
    position: relative;
    height: 125px;
}
/* Add your existing styles here */

.about-content {
    /* Add your existing styles */
}

.second-title h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

.facility-list {
    list-style-type: none;
    padding: 0;
}

.facility-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.5;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.facility-list li::before {
    content: '\2022'; /* Bullet character */
    position: absolute;
    left: 0;
    color: #0D6EFD; /* Bullet color */
}

.facility-list li:hover {
    color: #0D6EFD;
}

/* Add any additional styles for hover effect or animation here */
.schedule-section {
    text-align: center;
    margin: 20px;
}

.schedule-heading {
    font-size: 24px;
    color: #000; /* Beautiful color for the heading */
    margin-bottom: 15px;
}

.schedule-card {
    display: inline-block;
    max-width: 300px;
    background-color:#3498db; /* Beautiful color for the card */
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.schedule-card p {
    color: #000;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    padding: 20px;
    margin: 0;
    transition: color 0.3s ease; /* Smooth color transition on hover */
}

.schedule-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #3498db, #e74c3c);
    opacity: 0.5;
    z-index: -1;
}

.schedule-card:hover p b {
    animation: rotateAnimation 5s linear infinite;
}

@keyframes rotateAnimation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.schedule-card:hover {
    background-color: #3498db; /* Change color on hover */
}

.schedule-card:hover p {
    color: #fff; /* Change text color on hover */
}
.image_size
{
    height: 135px !important;
}
.services-box07 {
    padding: 30px;
    height: 250px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Adjust values as needed */

}
.services-box_icon
{
    height:475px !important;
}



/* //mobile view */
@media only screen and (max-width: 767px) 
{

    .p-relative {
        position: relative;
        margin-bottom: 60px;
        margin-top: -40px;
    }
    .image_size{
        width: 100%!important;
    }
    .Why_pes {
        margin-right: -20px;
        margin-bottom: 40px;
    }
    .section-title_latest_news
    {
        margin-top:0px !important;
    }
    .section-title_latest_news h2
    {
     font-size: 100x !important;
     margin-top: 0px;
    }
    .p-relative {
        position: relative;
        margin-bottom: 30px;
        margin-top: -40px;
    }
    .slick-initialized .slick-slide {
        display: block;
        margin-left: 9px;
        justify-content: stretch;
    }
    .section-title h2 {
        text-align: center;
         margin-top: 0px;
        margin-bottom: 35px !important;
    }
    .courses-item {
        float: left;
        margin-left: 22px;
        margin-right: 15px;
        position: relative;
        background: #f0f7ff;
        border-radius: 4px;
        transition: all 0.3s ease 0s;
    }
    .team-area2 .team-thumb img {
        width: 100%  !important;
    }
    .team-area-content {
         padding-top: 0px !important;
    }
    .p-relative {
        position: relative;
        margin-bottom: 0px;
        margin-top: 10px !important;
    }
    .Why_pes_1 {
        height: 279px !important;
        width: 600px !important; 
        max-width: 600px !important;
        margin: 10px !important; 
        box-shadow: 0 0 10px rgb(249 249 249);
        padding: 20px;
        border-radius: 8px !important;
         margin-top: -20px !important; 
        margin-right: -6px !important;
        margin-bottom: 50px !important;

    }
    .ratio_video {
        margin-bottom: 42px !important;
        margin-top: -25px !important;
    }
    .latest {
        margin-top: -47px !important;
     
    }
    .service-details-two {
        margin-top: 0;
     padding: 0px 0 !important; 
    }
    .Why_pes_2
    {
        margin-bottom: 10px !important;
    }
    
    
    .gallery_2 {
    flex: 0 0 auto;
    width: 100%;
    margin-left: -20px !important;
}

  
   
  
}
#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  #myImg:hover {opacity: 0.7;}
  
  /* The Modal (background) */
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 50%; /* Center horizontally */
    top: 50%; /* Center vertically */
    transform: translate(-50%, -50%); /* Centering trick */
    width: 50%; /* Adjust width as needed */
    height: 54%; /* Adjust height as needed */
    overflow:hidden; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.9); /* Black with opacity */
}
  
  /* Modal Content (image) */
  .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
  }
  
  /* Caption of Modal Image */
  #caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
  }
  
  /* Add Animation */
  .modal-content, #caption {  
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
  }
  
  @-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
  }
  
  @keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
  }
  
  /* The Close Button */
  .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;
  }
  
  /* 100% Image Width on Smaller Screens */
  @media only screen and (max-width: 700px){
    .modal-content {
      width: 100%;
    }
  }
  .portfolio .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  justify-content: center;
  gap: 20px;
  margin: 0 auto;
  max-width: 1200px;
}

.image {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 768px) {
  .portfolio .container {
    grid-template-columns: repeat(1, 1fr);
  }

}
