* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.top-bar {
  background: black;
}
.top-bar a {
  text-decoration: none;
}
.left-top {
  padding: 3px 0px;
}
.email-box {
  display: inline-block;
  margin-right: 20px;
}
.email-box a {
  color: #ffffff;
  font-size: 16px;
}
.email-box a:hover {
  color: crimson;
}
.email-box a i {
  padding: 0px 5px;
}
.phone-box {
  display: inline-block;
}

.phone-box a {
  color: #ffffff;
  font-size: 16px;
}
.phone-box a:hover {
  color: crimson;
}
.phone-box a i {
  padding: 0px 5px;
}

.social-box {
  float: right;
}

.social-box ul li {
  display: inline-block;
  padding-left: 10px;
}

.social-box ul li a {
  color: #ffffff;
  font-size: 20px;
  text-decoration: none;
}
.social-box ul li a:hover {
  color: crimson;
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .top-bar .row {
    text-align: center; /* Center content on smaller screens */
  }

  .top-bar .col-md-6 {
    margin-bottom: 10px; /* Space between sections on small screens */
    text-align: center; /* Center the contact and social links */
    display: flex;
    flex-direction: column; /* Stack content vertically on small screens */
    align-items: center;
  }

  .top-bar ul {
    justify-content: center; /* Center the social icons */
  }
}

@media (max-width: 576px) {
  .top-bar .col-md-6 {
    margin-bottom: 1px; /* Less margin for very small screens */
  }

  .top-bar i {
    font-size: 1.25rem; /* Slightly reduce icon size on smaller screens */
  }

  .top-bar a {
    font-size: 0.9rem; /* Reduce text size slightly for smaller screens */
    white-space: normal; /* Allow text to wrap to the next line */
  }
}

.sectionArea {
  padding: 3px 10px; /* Significantly reduce padding to decrease height */
  min-height: auto; /* Allow section height to adjust based on content */
}

.logo img {
  width: 100px; /* Decrease logo size */
  height: 100px;
  margin-left: 5px; /* Minimize left margin */
  object-fit: contain; /* Maintain aspect ratio */
}

.btn {
  margin-right: 5px; /* Reduce margin to shrink section width */
}

button {
  font-size: 0.9rem; /* Reduce button text size */
  padding: 5px 10px; /* Further decrease button padding */
}

/* Adjustments for small screens */
@media (max-width: 768px) {
  .sectionArea {
    padding: 2px 5px; /* Further reduce padding for mobile */
  }

  .logo {
    margin-right: 5px;
    justify-content: center;
    width: 100%;
  }

  .college-name {
    text-align: left;
    font-size: 1rem; /* Reduce font size for college name */
  }

  .logo img {
    width: 100%; /* Smaller logo for mobile */
    height: 77px;
    margin-bottom: -17px;
  }

  .btn {
    display: none; /* Hide button on mobile */
  }
}

/* Adjustments for large screens */
@media (min-width: 992px) {
  .logo img {
    width: 100%; /* Increase logo size for large screens */
    height: 77px;
    margin-top: 8px;
  }

  .college-name {
    font-size: 1.2rem; /* Keep text size readable on larger screens */
  }

  button {
    font-size: 1rem; /* Ensure button text is readable on large screens */
    padding: 8px 15px; /* Keep button appropriately sized for larger screens */
  }
}

/* Example Custom CSS for Navbar Background */
.navbarBg {
  background-color: orange;
}

/* Center and space navbar items */
.navbar-nav {
  flex-wrap: wrap;
}

.navbar-nav .nav-item {
  padding: 0px;
}

.navbar-nav .nav-link {
  display: block;
  padding: 0px 15px;
}

/* Handle dropdown menu styling */
.navbar-nav .dropdown-menu {
  background-color: white;
}

/* Hide the scrollbar */
body {
  overflow-x: hidden;
}

/* For small screens (up to 576px) */
@media (max-width: 576px) {
  .navbar-nav {
    text-align: left;
  }

  .navbar-nav .nav-item {
    width: 100%; /* Stack items */
    padding: 10px 0;
  }
}

/* For medium screens (up to 992px) */
@media (min-width: 576px) and (max-width: 992px) {
  .navbar-nav {
    text-align: left;
  }

  .navbar-nav .nav-item {
    flex-basis: 50%; /* Two items per row */
    padding: 10px 0;
  }

  .navbar-nav .dropdown-menu {
    position: static; /* Ensure dropdown is fully visible */
    float: none;
  }
}

/* For large screens (above 992px) */
@media (min-width: 992px) {
  .navbar-nav {
    display: flex;
    justify-content: center; /* Center nav items */
  }

  .navbar-nav .nav-item {
    flex-grow: 1; /* Distribute items evenly */
    text-align: center;
  }
}

.college-name {
  padding: 0;
  margin: 0;
  line-height: 1;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-size: 15px;
}

.admBtn {
  margin-left: 2px;
}
.d-block {
  width: 100vw;
  height: 450px;
}

.gov-card-container {
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gov-card-container:hover {
  transform: scale(1.05);
}

.gov-card-body {
  padding: 20px;
}

.gov-card-image {
  width: 200px !important;
  height: 200px !important;
}

.section-title-card {
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .gov-card-container {
    margin-bottom: 20px;
  }
}

.custom-container {
  padding-left: 80px; /* Increase left padding */
  padding-right: 80px; /* Increase right padding */
}

@media (max-width: 768px) {
  .custom-container {
    padding-left: 20px; /* Reduce padding on smaller screens */
    padding-right: 20px;
  }
}

.content-box {
  margin-bottom: 30px;
}

.section-title {
  margin-bottom: 15px;
}

ul {
  padding-left: 20px;
}

p {
  line-height: 1.6;
}

/* 
student service */
.student-services {
  padding: 20px;
  background-color: #f8f9fa; /* Light background color for contrast */
}

.container {
  max-width: 1200px; /* Adjust as needed */
  margin: 0 auto;
}

.student-services h1 {
  margin-bottom: 20px;
  text-align: center;
}

.course-col {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  background-color: #fff;
  height: 100%; /* Ensure all boxes have the same height */
  overflow: hidden; /* Prevent any overflow */
}

.notice-board .marquee-container {
  max-height: 200px;
  overflow: hidden;
}

.download-content,
.courses-list {
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden; /* Prevent horizontal scrollbar */
}

.course-col h5 {
  margin-bottom: 15px;
}

.coff {
  margin-bottom: 10px;
}

.title-link {
  color: #007bff;
  text-decoration: none;
}

.title-link:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .stu-margin {
    margin-bottom: 15px !important; /* Forces the margin to apply */
  }
}

.img-fluid {
  max-width: 100%; /* Ensure images don't exceed their container width */
  height: auto; /* Maintain aspect ratio */
}

.border {
  border: 1px solid #ddd; /* Light border around the paragraph */
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); /* Light shadow for elements */
}

.rounded {
  border-radius: 5px; /* Slightly round the corners of elements */
}

.text-justify {
  text-align: justify; /* Justify the paragraph text */
}
.image-container {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.image-container img {
  width: 100%;
  transition: transform 0.3s ease;
}

.image-container:hover img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-container:hover .overlay {
  opacity: 1;
}

.text-img {
  color: white;
  font-size: 14px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.testimonial-card {
  background-color: #fff;
  border-radius: 10px;
  transition: transform 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

.stars i {
  font-size: 18px;
  margin: 0 2px;
}

.text-warning {
  color: #f39c12;
}

.custom-card {
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.custom-card .card-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.custom-card img {
  width: 100%;
  border-radius: 5px;
}

.container {
  overflow: hidden;
  .slider {
    animation: slidein 10s linear infinite;
    white-space: nowrap;
    .logos {
      width: 100%;
      display: inline-block;
      margin: 0px 0;
      .fab {
        width: calc(100% / 5);
        animation: fade-in 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) forwards;
      }
    }
  }
}
.logos img {
  width: 90px; /* Decrease the width of logos */
  height: auto; /* Ensure logos maintain their aspect ratio */
}

@keyframes slidein {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-100%, 0, 0);
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.contact-us {
  background-color: #f8f9fa;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-item i {
  color: #007bff;
  margin-right: 15px;
}

.contact-item h5 {
  margin: 0;
  font-size: 18px;
  color: #333;
}

.contact-item p {
  margin: 0;
  color: #555;
}

#contact-form {
  display: flex;
  flex-direction: column;
}

#contact-form input,
#contact-form textarea {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

#contact-form button {
  padding: 10px;
  border: none;
  border-radius: 5px;
  color: red;
  background-color: #fff;
  cursor: pointer;
  border: 1px solid red;
}

#contact-form button:hover {
  background-color: #f8f9fa;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-info {
    margin-bottom: 20px;
  }

  .contact-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-item i {
    margin-bottom: 10px;
  }

  #contact-form input,
  #contact-form textarea {
    font-size: 14px;
  }

  #contact-form button {
    font-size: 14px;
  }
}

/* Highlight color for the title */
.highlight {
  color: #38d39f;
}

/* General footer styling */
footer {
  background-color: #343a40; /* Dark background */
  color: #f8f9fa; /* Light text */
}

footer h5 {
  font-size: 18px;
}

footer p {
  font-size: 14px;
}
@media (max-width: 576px) {
  .footer-column {
    text-align: center;
  }

  .footer-column h5 {
    margin-bottom: 20px;
  }
}

/* Social Media Buttons */
.btn-floating {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-floating i {
  font-size: 24px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .btn-floating {
    width: 45px;
    height: 45px;
  }

  .btn-floating i {
    font-size: 22px;
  }
}
footer .text-center a {
  text-decoration: none; /* Remove underline */
}
