



/* Update the content section styles */


main section {
    margin-bottom: 0px;
}

main section .about-content {
    margin: 0 0 20px;
}

main section .about-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

main section .about-title {
    margin-bottom: 10px;
}

main section .about-title h2 {
    font-size: 24px;
    color: #162542;
}

/* Style for the section */
.about-area 
{
  
    color: #fff; /* Text color */
    padding: 60px 0; /* Adjust padding as needed */
    text-align: center; /* Center the content */
}

.about-title {
    margin-bottom: 15px;
}

.about-title h5 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.about-title h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 0;
}

.about-content p {
    font-size: 14px;
    color: #555;
    margin-bottom: -5px;
}

.about-content p b {
    color: #333;
}

.s-about-img img {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .about-area {
        display: flex;
        align-items: center;
        margin: 20px;
    }

    .s-about-img {
        margin-right: 20px;
    }

    .about-area + .about-area {
        border-top: 1px solid #ccc; /* Border line */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Shadow */
        margin-top: 10px; /* Space between sections */
    }
    
}

.about-area {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Add box shadow */
    /* border-radius: 10px; Add border radius */
    padding: 20px;
}
.about-area + .about-area {
    border-top: 1px solid #ccc; /* Border line */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Shadow */
    margin-top: -30px; /* Space between sections */
}

.s-about-img img {
    max-width: 100%; /* Make sure image doesn't exceed container */
    border-radius: 10px; /* Optional: Add border radius to the image */
}

.s-about-content {
    padding: 20px; /* Add some padding to content */
}

/* Add your media queries for responsiveness */
@media (max-width: 767px) {
    .col-lg-4 {
        order: 2; /* Change the order on smaller screens */
    }

    .col-lg-8 {
        order: 1; /* Change the order on smaller screens */
    }
}
.s-about-img img{
    transform: scale(1.1) !important;
   
}

@media (max-width: 767px) {
    .about-title {
      margin: 0; /* Adjust margin for smaller screens as needed */
    }
    .about-area{
        margin: 0px;
    }
  }
   
  
  /* Modal styling */
.modal-content {
  background-color: rgba(0, 0, 0, 0.7); /* Transparent black background */
  border: none;
  border-radius: 0; /* Remove border radius */
  box-shadow: none; /* Remove box shadow */
  width: 100%;
  height: 100%;
}



.modal-body {
  padding: 0; /* Remove padding */
}

/* Close button styling */
.close {
  color: black;
  opacity: 1;
  font-size: 30px;
  font-weight: bold;
  position: absolute;
  top: 0px;
  right:0px; /* Move close button to the right */
}



/* Hide carousel controls on mobile devices */
@media (max-width: 576px) {
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
}
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1060;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    background-color: black !important;
   
}
.modal-body .carousel-control-prev {
    left: -350px;
}

.modal-body .carousel-control-next {
    right: -325px;
}
.border-container {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 88%; /* Optional: Set a max-width for better control on larger screens */
    margin: 20px auto;
  }
  
  .border-animation {
    width: 100%; /* Full width of the container */
    height: 8px;  /* Border height */
    background: linear-gradient(90deg, #007bff, #ff5722, #007bff); /* Gradient color for the border */
    background-size: 200% 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translateX(0);
    animation: moveBorder 2s linear infinite; /* Animation */
  }
  
  @keyframes moveBorder {
    0% {
      background-position: 0% 0%;
    }
    100% {
      background-position: 100% 0%;
    }
  }
  .hostel-section {
    background-color: #ffff;
    padding: 20px 0;
  }
  
  .about-title h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
  }
  
  .txt-clr {
    color: #555;
    line-height: 1.6;
  }
  
  .fa-ul {
    list-style-type: none;
    padding-left: 0;
  }
  
  .fa-ul li {
    position: relative;
    padding-left: 2em;
    margin-bottom: 10px;
    font-size: 1rem;
    color: #333;
  }
  
  .fa-li {
    position: absolute;
    left: 0;
    top: 0.2em;
    color:#162542;
  }
  
  .control-prev,
  .control-next {
    width: 5%;
    background-color: rgba(0, 0, 0, 0.1);
  }
  
 
  .about-content {
    margin-top: 20px;
  }
  
  .about-content p,
  .about-content ul {
    margin-bottom: 20px;
  }
  
  @media (max-width: 768px) {
    .about-content {
      margin-top: 10px;
    }
  
    .carousel-inner img {
      margin-bottom: 20px;
    }
  }