/* Logo with college name styling */
.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  max-width: 80px;
  height: auto;
}

.college-name {
  margin-left: 10px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  line-height: 1.2;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  /* Basic header adjustments */
  body>header {
    position: relative !important;
    padding: 5px 0 !important;
  }
  
  /* Make logo section full width */
  body>header .span4,
  #logo {
    width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
    float: none !important;
  }

  /* Ensure logo container is properly displayed */
  body>header .logo-container,
  #logo .logo-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    padding: 5px 0 !important;
  }

  /* Force logo to be visible with important rules */
  body>header .logo-img,
  #logo .logo-img {
    display: inline-block !important;
    max-width: 40px !important;
    width: 40px !important;
    height: auto !important;
    margin-right: 10px !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* College name styling for mobile */
  body>header .college-name,
  #logo .college-name {
    display: inline-block !important;
    font-size: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
  }
  
  /* Hide unnecessary elements on mobile */
  body>header .span8,
  body>header #phone,
  body>header #menu-top {
    display: none !important;
  }
  
  /* Fix spacing between header and menu */
  nav {
    margin-top: 0 !important;
  }
}

@media (max-width: 480px) {
  body>header .logo-img,
  #logo .logo-img,
  body>header img,
  #logo img {
    max-width: 35px !important;
    width: 35px !important;
  }

  body>header .college-name,
  #logo .college-name {
    font-size: 16px !important;
  }
}