/* Info Bar */
.infobar {
  background: #333;
  color: #fff;
  padding: 10px 0;
  font-size: 14px;
}

.infobar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tagline {
  /* Made tagline bold and blue with more right margin for spacing */
  font-weight: bold;
  color: #4a90e2;
  margin-left: 20px;
  margin-right: 60px;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.contact-item i {
  color: #87cc46;
  width: 16px;
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-left: 20px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  /* Changed social icon background from green to blue */
  background: #4a90e2;
  border-radius: 50%;
  color: #fff;
  transition: background 0.3s;
}

.social-icons a:hover {
  /* Updated hover color to darker blue */
  background: #357abd;
}

/* Updated tablet responsive styles for better visibility and layout */
@media (max-width: 1200px) and (min-width: 769px) {
  .infobar {
    display: block !important;
    visibility: visible !important;
    font-size: 12px;
  }

  .infobar .container {
    padding: 0 15px;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
  }

  .tagline {
    margin-right: 20px;
    font-size: 11px;
    flex-shrink: 0;
    display: block !important;
    white-space: nowrap;
  }

  .contact-info {
    gap: 15px;
    flex-wrap: nowrap;
    display: flex !important;
    overflow: hidden;
  }

  .contact-item {
    font-size: 10px;
    white-space: nowrap;
    display: flex !important;
    min-width: 0;
  }

  .contact-item i {
    width: 14px;
    font-size: 10px;
  }

  .social-icons {
    margin-left: 10px;
    flex-shrink: 0;
    display: flex !important;
    gap: 8px;
  }

  .social-icons a {
    width: 28px;
    height: 28px;
    display: flex !important;
  }
}

/* Added specific breakpoint for smaller tablets like iPad Air portrait mode */
@media (max-width: 900px) and (min-width: 769px) {
  .tagline {
    font-size: 10px;
    margin-right: 15px;
  }

  .contact-info {
    gap: 12px;
  }

  .contact-item {
    font-size: 9px;
  }

  .social-icons {
    gap: 6px;
  }

  .social-icons a {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 768px) {
  .infobar .container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 0 15px;
  }

  .tagline {
    margin: 0;
    font-size: 12px;
  }

  .contact-info {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  .social-icons {
    margin: 0;
    justify-content: center;
  }
}
