/* Main container styling */
main{
  line-height: 1.6rem;
  margin-top: 70px;
}
@media (max-width: 550px) {
  main{
    margin-top: 30px;
  }
}
.hidden {
  display: none;
}

/* College image container */
.college_img1 {
  margin-top: 50px;
  margin-left: 2%;
  margin-right: 2%;
  width: 96%;
  height: 33vh; /* Adjust as necessary */
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  
}

/* Image wrapper */
.imga1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* College image */
.imga1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

/* Logo image container */
.logoimg {
  position: absolute;
  bottom: 10px; /* Adjust as necessary */
  left: 10%; /* Adjust as necessary */
  transform: translateX(-50%);
  width: 85px; /* Width of the logo */
}

/* Logo image */
.logoimg .logo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 9px;
}

/* Media queries for different screen sizes */
@media (max-width: 700px) {
  .college_img1 {
      height: 20vh; /* Adjust as necessary */
  }

  .imga1 img {
      height: auto;
  }

  .logoimg {
      width: 70px; /* Adjust as necessary */
  }
}

@media (max-width: 400px) {
  .college_img1 {
      height:22vhpx; /* Adjust as necessary */
  }

  .logoimg {
      left: 18%; /* Adjust as necessary */
      width: 60px; /* Adjust as necessary */
  }
}

/* College Name */
.colname {
  text-align: center;
  padding: 10px 0;
  

}

.colname h1 {
  margin: 0;
  font-size: 2rem;
  color: #333;
}

/* Tabs Section */
.tab {
  margin: 7px;
  overflow: hidden;
  background-color: #f1f1f1;
  border-radius: 10px;
  display: flex;
  justify-content: center;
}

.tab button {
  background-color: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 10px 20px;
  transition: 0.3s;
  flex: 1;
  text-align: center;
  font-size: 1rem;
}

.tab button:hover {
  background-color: #ddd;
}

.tab button.active {
  background-color: #ccc;
}

.tabcontent {
  display: none;
  padding: 20px;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 10px;
}

.tabcontent.active {
  display: block;
}
.loginlink{
  text-align: center;
}
/* Reviews Section */
.reviews-section {
  margin-top: 40px;
}

.reviews-section h2 {
  margin-bottom: 20px;
  text-align: center;
}

/* Review Submission Form */
form {
  margin: 10px;
  margin-bottom: 10px;
}

form label {
  display: block;
 
}

form textarea,
form select,
form button {
 
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

form button {
  background-color: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
}

form button:hover {
  background-color: #45a049;
}

/* Reviews List */
/* Reviews List */
.reviews-list {
  margin: 10px;
}

.review-item {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.review-profile-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
  flex-shrink: 0; /* Ensure the image doesn't shrink */
}

.review-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.review-content h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #333;
  display: flex;
  align-items: center; /* Vertically align the name with the rating */
}

.review-content p {
  margin: 10px 0 5px;
}

.review-content small {
  color: #777;
}
.star-rating {
  direction: rtl;
  display: flex;
  justify-content: center;
  font-size: 2.5em;
}
.star-rating input[type="radio"] {
  display: none;
}
.star-rating label {
  color: #ddd;
  cursor: pointer;
}
.star-rating input[type="radio"]:checked ~ label {
  color: #5656d2;
}
.star-rating input[type="radio"]:not(:checked) ~ label:hover,
.star-rating input[type="radio"]:not(:checked) ~ label:hover ~ label {
  color: #4b4bca;
}
.review-form {
  display: none;
  margin-top: 20px;
}
.review-form textarea {
  width: 100%;
  height: 100px;
  margin-bottom: 10px;
}
.review-form label {
  display: block;
  margin-top: 10px;
}
.review-form .star-rating label {
  font-size: 1.5em;
}

.star1{
  margin-left: 5px;
  color: #3434c8;
  padding: 1.5px;
}

.ratingpoint{
  
  font-size: 45px;
}
.ratingpoint-star{
  font-size: 38px;
  
}
.average-ratings{
  margin: 20px;
  text-align: center;
}


table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  overflow-x: auto; /* Makes the table scrollable on small screens */
  display: block; /* Ensures the table behaves like a block element */
}

table, th, td {
  border: 1px solid #ddd;
}

th, td {
  padding: 12px;
  text-align: left;
}

th {
  background-color: #f4f4f4;
}

/* Responsive Design */
@media (max-width: 768px) {
  th, td {
    padding: 8px; /* Reduced padding for small screens */
  }

  table {
    font-size: 14px; /* Adjust font size for readability */
  }
}

.highlight {
  font-weight: bold;
  color: #3498db;
}
.course-table th, .course-table td {
  text-align: center;
}

.highlight {
  font-weight: bold;
  color: #3498db;
}
.section {
  margin-bottom: 30px;
}
.highlight-text {
  color: #2980b9;
  font-weight: bold;
}


        .map-link {
         
            display: flex;
            align-items: center;
            padding: 12px 20px;
            background-color: #007bff;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            text-decoration: none;
            font-size: 16px;
            transition: background-color 0.3s;
        }

        .map-link:hover {
            background-color: #0056b3;
        }

        .map-link svg {
            width: 24px;
            height: 24px;
            margin-right: 10px;
        }