/* Custom CSS to match the logo color scheme */

:root {
  /* Background colors */
  --primary-bg: #ffffff;
  --secondary-bg: #f5f5f5;
  --accent-bg: #e0e0e0;
  --off-white: #ffffff;
  
  /* Text colors */
  --text-dark: #000000;
  --text-medium: #050505;
  --text-light: #ffffff;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--off-white);
  color: var(--text-dark);
}

/* Main Header Styling */
.main-header {
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 25px 0;
  position: relative;
  z-index: 1030;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Logo Styling */
.logo-wrapper {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.logo {
  display: block;
  text-decoration: none;
  color: #000000;
}

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

/* Menu Toggle Button with Dropdown */
.menu-dropdown-wrapper {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.menu-toggle {
  background: none;
  border: none;
  padding: 0;
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle:focus {
  outline: none;
  box-shadow: none;
}

.menu-toggle::after {
  display: none;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #000000;
  transition: all 0.3s ease;
}

/* Dropdown Menu Styling */
.dropdown-menu {
  margin-top: 15px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  min-width: 180px;
}

.dropdown-item {
  padding: 12px 25px;
  color: #000000;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.dropdown-item:hover, 
.dropdown-item:focus {
  background-color: rgba(0, 0, 0, 0.05);
  color: #000000;
}

/* Right Controls Section */
.right-controls {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

/* Auth Dropdown */
.auth-dropdown {
  margin-right: 15px;
}

.user-dropdown {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.user-dropdown:hover {
  color: #666666;
  text-decoration: none;
}

.user-dropdown::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

/* Language Switcher */
.lang-switch {
  display: flex;
  align-items: center;
}

.lang-btn {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  color: #666666;
  text-decoration: none;
}

.lang-btn.active {
  font-weight: 700;
}

.lang-separator {
  margin: 0 5px;
  color: #000000;
}



/* Responsive Adjustments */
@media (max-width: 767px) {
  .logo img {
    max-height: 50px;
  }
}

/* Buttons */
.btn-primary {
  background-color: #000000;
  border-color: #000000;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #333;
  border-color: #333;
}

.btn-outline-primary {
  color: #000000;
  border-color: #000000;
}

.btn-outline-primary:hover {
  background-color: #000000;
  color: #ffffff;
}

/* Cards */
.card {
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-header {
  background-color: #000000;
  color: #ffffff;
}

/* Footer */
footer {
  background-color: #000000;
  color: #ffffff;
  padding: 2rem 0;
}

/* Section headings */
.section-heading {
  position: relative;
  color: #000000;
  padding-bottom: 10px;
}

.section-heading:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--secondary-bg);
}

/* Custom accent elements */
.accent-bg {
  background-color: var(--secondary-bg);
}

/* Form elements */
.form-control:focus {
  border-color: var(--secondary-bg);
  box-shadow: 0 0 0 0.25rem rgba(140, 140, 140, 0.25);
}

/* Dropdown menus */
.dropdown-menu {
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-item:hover {
  background-color: var(--accent-bg);
}
