.mdb-header {
  background: var(--color-primary);
  color: white;
  padding: 16px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.mdb-nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mdb-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  letter-spacing: 1px;
  transition: transform 0.3s ease;
}

.mdb-logo:hover {
  transform: scale(1.05);
}

.mdb-menu-toggle {
  display: none;
  background: none;
  color: white;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.mdb-menu-toggle:hover {
  transform: scale(1.1);
}

.mdb-navigation {
  display: flex;
  align-items: center;
}

.mdb-main-menu {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.mdb-main-menu li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

.mdb-main-menu li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.mdb-main-menu li a:hover {
  color: var(--color-accent);
}

.mdb-main-menu li a:hover::after {
  width: 100%;
}

/* Mobile */
@media (max-width: 768px) {
  .mdb-menu-toggle {
    display: block;
  }

  .mdb-navigation {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background: rgba(30, 45, 71, 0.95); /* semi-transparent */
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
  }

  .mdb-navigation.active {
    display: flex;
  }

  .mdb-main-menu {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .mdb-main-menu li a {
    font-size: 1.1rem;
    color: white;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.mdb-topbar {
  background: var(--color-primary);
  color: var(--color-light);
  font-size: 0.9rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Elegant light border */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);         /* Optional subtle depth */
}


.mdb-topbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.mdb-topbar-message {
  margin: 0;
  font-weight: 500;
}

.mdb-topbar-message span {
  color: var(--color-cta);
  font-weight: 600;
}

.mdb-topbar-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mdb-topbar-link {
  color: var(--color-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mdb-topbar-link i {
  margin-right: 6px;
  color: var(--color-cta);
}

.mdb-topbar-link:hover {
  color: var(--color-cta);
}

.divider {
  color: var(--color-light);
  opacity: 0.4;
}

/* Contact Us Button */
.mdb-topbar-btn {
  background: var(--color-cta);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.mdb-topbar-btn i {
  margin-right: 6px;
}

.mdb-topbar-btn:hover {
  background: transparent;
  color: var(--color-cta);
  border: 1px solid var(--color-cta);
  transform: scale(1.05);
}

/* Modal */

.modal {
  display: flex;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
  backdrop-filter: blur(4px);
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.4s ease;
  font-family: 'Inter', sans-serif;
}

.modal.show .modal-content {
  transform: translateY(0);
  opacity: 1;
}

.modal-content h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: #1E2D47; /* Elegant dark color */
  text-align: center;
}

.modal-content label {
  display: block;
  margin: 12px 0 6px;
  font-size: 0.95rem;
  color: #333;
  font-weight: 600;
}

.modal-content input {
  width: 100%;
  padding: 12px;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-content input:focus {
  border-color: var(--color-cta);
  box-shadow: 0 0 0 3px rgba(182, 148, 14, 0.2); /* elegant cta glow */
  outline: none;
}

.modal-content button {
  margin-top: 20px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: var(--color-cta);
  color: white;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  font-size: 1rem;
}

.modal-content button:hover {
  background: transparent;
  color: var(--color-cta);
  border: 2px solid var(--color-cta);
  transform: scale(1.03);
}

.close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 22px;
  font-weight: 600;
  color: #444;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: var(--color-cta);
}



/* Optional: Button pulse effect */
@keyframes topbarPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(182, 148, 14, 0); }
  50% { box-shadow: 0 0 8px 2px rgba(182, 148, 14, 0.5); }
}

.mdb-topbar-btn {
  animation: topbarPulse 3s ease-in-out infinite;
}
