/* Top Mini Navigation Styles */
.top-mini-nav {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  font-size: 14px;
}

.top-mini-nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: flex-end;
}

.top-mini-nav li {
  padding: 0;
}

.top-mini-nav a {
  color: #495057;
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: inline-block;
  transition: color 0.3s;
}

.top-mini-nav a:hover {
  color: #1a578a;
}

.top-mini-nav .separator {
  color: #ced4da;
}

/* Search Container Styles */
.search-container {
  display: flex;
  align-items: center;
  max-width: 500px;
  width: 100%;
  position: relative;
}

.search-box {
  display: flex;
  width: 100%;
  border: 1px solid #1a578a;
  border-radius: 30px;
  overflow: hidden;
  background-color: white;
}

.search-input {
  flex: 1;
  padding: 10px 15px;
  border: none;
  outline: none;
  font-size: 14px;
}

.search-button {
  background-color: #1a578a;
  color: white;
  border: none;
  padding: 0 20px;
  cursor: pointer;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-button:hover {
  background-color: #164670;
}

.search-icon {
  width: 16px;
  height: 16px;
}

/* Logo Container Styles */
.logos-container {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.certification-logos {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.certification-logo {
  width: 3.5rem;
  height: auto;
}

.tobb-logo {
  width: 8rem;
  height: auto;
  margin-left: 0.5rem;
}

/* Responsive Styles */
@media only screen and (max-width: 1200px) and (min-width: 768px) {
  .responsive-menu ul {
    gap: 0.25rem;
  }
  
  .responsive-menu li > div {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  
  .certification-logo {
    width: 2.5rem;
  }
  
  .tobb-logo {
    width: 6rem;
  }
  
  .search-container {
    max-width: 300px;
  }
}

@media only screen and (max-width: 767px) {
  .top-mini-nav {
    display: none;
  }
  
  .header {
    padding: 1rem 0 !important;
    flex-direction: column;
  }
  
  .logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .main-logo {
    width: 5rem !important;
    height: 5rem !important;
    margin: 0 auto !important;
  }
  
  .logo-text {
    display: none;
  }
  
  .search-container {
    width: 100%;
    margin: 0.75rem 0;
    max-width: 100%;
  }
  
  .logos-container {
    display: none !important;
  }
}

@media only screen and (max-width: 767px) {
  .top-mini-nav {
    display: block;
    font-size: 11px;
    overflow-x: auto;        
    white-space: nowrap;     
    -webkit-overflow-scrolling: touch;  
  }
  
  .top-mini-nav ul {
    flex-direction: row;    
    justify-content: center;
    flex-wrap: nowrap;      
    padding: 0.3rem 0;      
  }
  
  .top-mini-nav a {
    padding: 0.3rem 0.4rem;  
    text-align: center;
  }
  
  .top-mini-nav .separator {
    font-size: 10px;         
    padding: 0 2px;          
  }
}
